Skip to content

Commit

Permalink
Merge pull request #95 from Paillat-dev/patch-2
Browse files Browse the repository at this point in the history
docs: correct spelling in README
  • Loading branch information
webdiscus committed Jun 3, 2024
2 parents dde20d3 + 30cf7c1 commit ae84f05
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can use a relative path or Webpack alias to a source file.
A template imported in JS will be compiled into [template function](#template-in-js). You can use the **template function** in JS to render the template with variables in runtime on the client-side in the browser.


This plugin is an **advanced replacer** of `html-webpack-plugin` and many other [plugins and loaders](#list-of-plugins).
This plugin is an **advanced replacement** of `html-webpack-plugin` and many other [plugins and loaders](#list-of-plugins).

<!--
<table align="center">
Expand Down Expand Up @@ -399,14 +399,14 @@ module.exports = {
> Don't use Webpack's `output.filename`, hold all relevant settings in one place - in plugin options.\
> Both places have the same effect, but `js.filename` has priority over `output.filename`.
No additional template loader is required. The plugin handels templates with base `EJS`-like syntax automatically.
No additional template loader is required. The plugin handles templates with base `EJS`-like syntax automatically.
The default templating engine is [Eta](https://eta.js.org).

For using the native `EJS` syntax see [Templating with EJS](#using-template-ejs).\
For using the `Handlebars` see [Templating with Handlebars](#using-template-handlebars).\
For other templates see [Template engines](#template-engine).

For custom templates, you can use the [preprocessor](#loader-option-preprocessor) option to handels any template engine.
For custom templates, you can use the [preprocessor](#loader-option-preprocessor) option to handle any template engine.

<table>
<tr>
Expand Down Expand Up @@ -3954,7 +3954,7 @@ module.exports = {
new HtmlBundlerPlugin({
entry: {
index: {
// output dist/imdex.html
// output dist/index.html
import: './src/views/page/index.eta',
data: {
headline: 'Breaking Bad',
Expand Down Expand Up @@ -4026,7 +4026,7 @@ module.exports = {
new HtmlBundlerPlugin({
entry: {
index: {
// output dist/imdex.html
// output dist/index.html
import: './src/views/page/index.ejs',
data: {
headline: 'Breaking Bad',
Expand Down

0 comments on commit ae84f05

Please sign in to comment.