Releases: gwuhaolin/web-webpack-plugin
Releases · gwuhaolin/web-webpack-plugin
support webpack4
before support webpack4
support webpack4 take a break change, this is a backup for webpack1~3
feat: inject attr for HTML tag
Improve performance
- perf: avoid read not exit URL path file
- perf: improve perf by avoid read same file content twice
fix: parse5 attr value undefined error
1.9.1 fix: parse5 attr value undefined error
feat: add htmlMinify option
fix: TypeError: Cannot read property 'parentNode' of undefined
1.8.4 fix: TypeError: Cannot read property 'parentNode' of undefined
fix: reserve custom attrs in script and style tag
reserve custom attrs, e.g:
In html template:
<script async data-group="123" src="./main.js"></script>
In output html, attrs async data-group="123"
will keep.
Fix hot reload not work after add templateComplier option
1.8.2 fix: hot reload not work when template change
Support templateCompiler option
templateCompiler
option use to pre-translate you origin template use template engine like ejs.
detail use see this demo.
templateCompiler has been add to WebPlugin and AutoWebPlugin both.