Added "Auto generate integrity hash for link and script tags" example View in browser | source
v2.9.0
Cumulative Release v2.7.0 - v2.9.0
Features
Added experimental support the Webpack cache.type as filesystem. This is yet an alpha version.
You can try it, but if that doesn't work, just use the default cache.type as memory.
Removes the json5 dependency, take only the parser code from this package, remove unused code from it and optimize it for use with the plugin.
Added watching for changes (add/remove/rename) in handlebars helpers without restarting Webpack.
Added js.inline.chunk and js.inline.source options to inline only js chunks matching regular expressions.
Changed 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.
Bug Fixes
Fixed resolving output asset filenames without the needless index .1, like index.1.js, when used the same base filename for template and js files. For example, if source files with the same base name src/index.html and src/index.js were used, then dist/index.html and dist/index.1.js were created, because the entry name used for compilation must be unique. This case is fixed.
If the html outputPath is a relative path, it is relative to output.path, not to CWD
Fixed resolving asset module by 2nd npm start when cache.type is 'filesystem'.
Chore
Updated the eta to the latest v3.1.0 version.
v2.6.1
Bug Fixes
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.
feat: add support for the webpack-subresource-integrity plugin to include the subresource integrity hash
feat: add the integrity option to enable/disable the support for webpack-subresource-integrity plugin
2.10.1 (2023-09-02)
fix: avoid generation of empty css files when source styles are imported in TS file
2.10.0 (2023-09-01)
feat: add Handlebars helpers assign, partial and block to extend a template layout with blocks
chore: add handlebars-layout example
docs: update README
2.9.0 (2023-08-27)
feat(experimental): add support the Webpack cache.type as filesystem. This is yet an alpha version of the feature.
You can try it, but if that doesn't work, just use the default cache.type as memory.
feat: remove the json5 dependency, take only the parser code from this package, remove unused code from it and optimize it for use with the plugin
fix: resolve output asset filenames without the needless index .1, like index.1.js, when used the same base filename for template and js files.
For example, if the source files with the same base name src/index.html and src/index.js were used, then dist/index.html and dist/index.1.js were created,
because the entry name used for compilation must be unique. This case is fixed.
test: add tests for features and fixes
test: remove unused code in test suits
chore: update dev dependencies
docs: update README
2.8.0 (2023-08-15)
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
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.11.0.
Release notes
Sourced from html-bundler-webpack-plugin's releases.
... (truncated)
Changelog
Sourced from html-bundler-webpack-plugin's changelog.
... (truncated)
Commits
7c70ed2
release v2.11.0e780eca
fix: avoid generation of empty css files when source styles are imported in T...e808ab7
feat: add Handlebars helpersassign
,partial
andblock
to extend a temp...f61a991
release 2.9.0483876b
release 2.8.0ec3d2c9
release v2.7.0397c813
fix: when the Webpackoutput.path
option is undefined, set the default path50a990a
release 2.6.0c0e13bd
chore: create react-app38c0529
chore: add simple-site exampleDependabot 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