Closed
Description
Prerequisites
- WebPack 4.0.1
Description
Not working with webpack ^4.0.1
Error Message & Stack Trace
...
Creating an optimized production build...
Failed to compile.
Plugin could not be registered at 'html-webpack-plugin-before-html-processing'. Hook was not found.
BREAKING CHANGE: There need to exist a hook at 'this.hooks'. To create a compatiblity layer for this hook, hook into 'this._pluginCompat'.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
...
Config
Copy the relevant section from webpack.config.js
:
"webpack": "^4.0.1",
"webpack-cli": "^2.0.10",
Environment
Ubuntu
Metadata
Metadata
Assignees
Labels
No labels