All notable changes to this project will be documented in this file. See standard-version for commit guidelines. https://github.com/jharris4/html-webpack-tags-plugin
3.0.2 (2021-10-30)
- Fix script attributes not being copied when scripts are injected in the head of the html document [#79].
3.0.1 (2021-04-07)
- Added
webpack
&html-webpack-plugin
to peerDependencies.
3.0.0 (2021-02-03)
- Updated to support
webpack
&html-webpack-plugin
version5
.
- webpack
&
html-webpack-pluginversion **
5`** are now required. - Node version
>=10
is now required.
2.0.17 (2019-09-23)
- Add typings.d.ts to
files
inpackage.json
(oops) [#52].
2.0.16 (2019-09-23)
- Add TypeScript definitions [#52].
2.0.15 (2019-08-20)
- Renamed the meta option to
metas
. The plural version is more consistent with thetags
,scripts
andlinks
options.
2.0.14 (2019-08-20)
- Add new
meta
option (default undefined) that allows<meta>
tags to be injected.
2.0.13 (2019-06-18)
- Use
url.resolve
instead ofpath.join
to fix a bug when the publicPath contains//
. [#47].
- Update all dependency packages to latest.
2.0.12 (2019-05-03)
- Update
slash
package to3.0.0
.
2.0.11 (2019-05-03)
- Add new
globFlatten
tag option (default false) that allows paths to be stripped from glob matched file paths.
2.0.10 (2019-04-27)
- Add new
prependExternals
option (default true) that auto-prepends (append
: false) any scripts with theexternal
option specified.
2.0.9 (2019-04-24)
- More robust validation logic for all options across the board.
- Adds support for all
top
level options to be specified at thetag
level. HtmlWebpackTagsPlugin.api
now ready for use by any plugins wanting to extend this plugin's options.
2.0.8 (2019-04-23)
- Adds an
api
property to the plugin constructor, allowing reuse of option validation by other plugins.
2.0.7 (2019-04-23)
- Adds stricter/better option validation.
2.0.6 (2019-04-23)
- Fixes use of this plugin with html-webpack-plugin@4.x. [#45].
2.0.5 (2019-04-23)
- Adds support for specifying the append option at the tag level.
2.0.4 (2019-04-22)
- Added browser tests to this package (using puppeteer).
- Fix windows
path
formatting issues introduced in the2.x
version rewrite. [#44].
2.0.3 (2019-04-19)
- Adds support for new external script tag options that can control webpack's external config.
2.0.2 (2019-04-19)
- Fix bugs related to renaming the assets option name to tags.
2.0.1 (2019-04-19)
Version 2.0.1
renamed this package from html-webpack-include-assets-plugin
to html-webpack-tags-plugin
.
- The assets option was renamed to the tags option
- The asset.assetPath option was renamed to asset.sourcePath
2.0.0 (2019-04-18)
Version 2.0.0
is a full rewrite of this plugin using ES6 instead of ES5 source code.
- More robust logic for separating
script
vslink
tags compared with version `1.0.x - More robust logic for injecting attributes into
link
tags - Fix inconsistencies with the
hash
andpublicPath
options from version1.0.x
- New
links
andscripts
plugin options added as shortcuts for injectingassets
without worrying abouttype
orfile extension
- Node >= 8.6 is now required due to the use of
object spread
syntax in the plugin source code - append option now defaults to true
1.0.10 (2018-04-12)
This is the last 1.0.x
version which supports Node < 8.6.
- Rename links to cssAssets and improve test coverage (7e78bec)
- Add selfClosingTag and voidTag to links (97ac502)
- misc cleanup (6ca39ac)
1.0.9 (2018-04-12)
This version adds support for the links
option, similar to the option in version 2.x
except href
is used instead of path
.