when the Webpack output.path option is undefined , set the default path as CWD + /dist
v2.6.0
Features
Added the css.chunkFilename option for output filename of non-initial chunk files, e.g., a style file imported in JavaScript.
Added the hotUpdate option to enable/disable live reload in serve/watch mode. For some use cases you can disable auto injecting the hot-update.js into generating html files. For example, when you use a react-app generated with create-react-app, then this option must be disabled to avoid a react error.
Bug Fixes
Fixed missing output css file when the same style source file is imported in js and linked in html.
Chore
Added the "hello world" example.
Added the simple-site example with automatically processing many HTML templates.
Added the Handlebars example.
v2.5.1
Bug Fixes
Fixed missing output html file after renaming template file in watch mode when using entry as a path.
Chore
Added an example using of Bootstrap with Webpack.
Added an example using of Tailwind CSS with Webpack.
v2.5.0
Cumulative Release v2.0.0 - v2.5.0
⚠ POTENTIAL BREAKING CHANGE (v2.0.0):
Upgraded the default preprocessor eta to next major version 3.0.
Perhaps you may need to migrate your Eta templates to v3 syntax.
Features
Added the reference for data in the plugin options.
The NEW syntactic "sugar":
feat: add watching for changes (add/remove/rename) in handlebars helpers without restarting Webpack
feat: change the default value of the hotUpdate option to false. This is not breaking change.
If you already have a js file, this setting should be false as Webpack automatically injects the hot update code into the compiled js file.
Enable this option only if you don't have a referenced source file of a script in a html template.
docs: update README
2.7.0 (2023-08-13)
feat: add js.inline.chunk and js.inline.source options to inline only js chunks matching regular expressions
fix: if the html outputPath is a relative path, it is relative to output.path, not to CWD
fix: resolve asset module by 2nd npm start when cache.type is 'filesystem' (using memory type was OK)
chore: update the eta to the latest v3.1.0 version
docs: update README
2.6.1 (2023-08-09)
fix: when the Webpack output.path option is undefined, set the default path as CWD + /dist
2.6.0 (2023-08-09)
feat: add the css.chunkFilename option for output filename of non-initial chunk files
feat: add the hotUpdate option to enable/disable live reload in serve/watch mode
fix: missing an output css file when the same style file is imported in js and linked in html
chore: add the "hello world" example
chore: add simple-site example with automatically processing many HTML templates
chore: add the Handlebars example
chore: add react-app example, ejected from create-react-app (alpha version)
2.5.1 (2023-08-04)
fix: missing output html file after renaming template file in watch mode when using entry as a path
chore: add example for bootstrap
chore: update npm packages
docs: update README
2.5.0 (2023-07-30)
feat: add the reference for data in the plugin options.
The NEW syntactic "sugar":
new HtmlBundlerPlugin({
entry: {
index: './src/views/home.ejs',
},
// new reference to the loaderOptions.data
data: {...},
}),
The old syntax is still valid:
new HtmlBundlerPlugin({
entry: {
index: './src/views/home.ejs',
},
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps html-bundler-webpack-plugin from 1.18.0 to 2.8.0.
Release notes
Sourced from html-bundler-webpack-plugin's releases.
... (truncated)
Changelog
Sourced from html-bundler-webpack-plugin's changelog.
... (truncated)
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show