Expected behaviour
Webpack build succeeds
Current behaviour
Webpack build fails, requiring "html-minifier" from "html-webpack-plugin"
ERR! Error: Cannot find module 'html-minifier'
ERR! Require stack:
ERR! - /myproject/node_modules/html-webpack-plugin
Manually installing html-minifier fixes the issue
Environment
On html-webpack-plugin@4.0.0-beta.10, webpack@4.41.2, node@12.13.0, npm@6.12.0
Config
NA
Relevant Links
NA
Additional context
I suspect adding html-minifier to html-webpack-plugin dependencies would fix the issue, happy to contribute if that's the desired change
Expected behaviour
Webpack build succeeds
Current behaviour
Webpack build fails, requiring "html-minifier" from "html-webpack-plugin"
Manually installing
html-minifierfixes the issueEnvironment
On
html-webpack-plugin@4.0.0-beta.10,webpack@4.41.2,node@12.13.0,npm@6.12.0Config
NA
Relevant Links
NA
Additional context
I suspect adding
html-minifiertohtml-webpack-plugindependencies would fix the issue, happy to contribute if that's the desired change