Alternative to html-webpack-plugin ✅ Renders Eta, EJS, Handlebars, Nunjucks, Pug, Twig templates "out of the box" ✅ Resolves source files of scripts, styles, images in HTML ✅ Uses a template as entry point
ISC License
138
stars
14
forks
source link
Setting Root Public Path with more than 1 character breaks Integrity #45
Integrity setting now works for a public path of /, but adding anything beyond that breaks it again producing the same errors as #42 and #43 (IE if your public path is /test
Expected behavior
Complex Root Public Path should work with integrity
Current behavior
Integrity setting now works for a public path of
/
, but adding anything beyond that breaks it again producing the same errors as #42 and #43 (IE if your public path is/test
Expected behavior
Complex Root Public Path should work with integrity
Reproduction Example
https://github.com/SteffenBlake/html-bundler-webpack-plugin-bug-examples/blob/main/webpack.config.js#L32-L33
npm run build
with current settings works and produces the expected output.Switching the commented out
publicPath
config to be/test
reproduces the bug.Environment
Proposed Fix
Forking a branch, will be opening a PR shortly.