Releases: swimmadude66/html-webpack-skip-assets-plugin
Releases · swimmadude66/html-webpack-skip-assets-plugin
1.0.4
What's Changed
- Patch minimatch to fix CVE-2022-3517 by @mbonaci in #9
- release patch for minimatch CVE by @swimmadude66 in #10
- use variable node version for builds, fix typing by @swimmadude66 in #12
New Contributors
Full Changelog: 1.0.3...1.0.4
1.0.3 - Package.json update
No code change, just adding keys for linking this repo to the package
1.0.2 - Fix error on meta attributes
Release fix for #7 , handles meta assets with null/undefined src + href attributes as empty strings to avoid error
Improved matching logic
1.0.1 - Improved matching logic
- Fixed an issue with global regexes not matching multiple files (closes #5)
- Added support for a callback function to test an asset for skipping (closes #6)
To use the new function matcher, add a function to either array in the options which takes an HtmlTagObject
from html-webpack-plugin as an argument, and returns true
to skip the file, or false
to include it.
New mocha tests have also been added to test for both of the above fixes. The mocha test file has also been refactored to reduce duplicate testing effort and easily expand coverage.
Webpack 5 support
1.0.0 - Webpack 5 support
- verify support for webpack 5 and html-webpack-plugin 5
0.0.2
Readme updates and dependency pinning