New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpack 4 support #10

kenrick95 opened this Issue Jan 30, 2018 · 3 comments


None yet
4 participants

kenrick95 commented Jan 30, 2018

I'm trying out Webpack 4 beta, and with this plugin, it throws the following error:

                throw new Error(`Plugin could not be registered at '${name}'. Hook was not found.\n` +

Error: 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'.
    at Compilation.plugin ([path]/node_modules/tapable/lib/Tapable.js:63:9)
    at Compilation.deprecated [as plugin] (internal/util.js:47:15)
    at [path]/node_modules/inline-manifest-webpack-plugin/index.js:13:21
    at SyncHook.eval [as call] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:17:12), <anonymous>:17:1)
    at SyncHook.lazyCompileHook [as _call] ([path]/node_modules/tapable/lib/Hook.js:35:21)
    at Compiler.newCompilation ([path]/node_modules/webpack/lib/Compiler.js:400:26)
    at hooks.beforeCompile.callAsync.err ([path]/node_modules/webpack/lib/Compiler.js:432:29)
    at AsyncSeriesHook.eval [as callAsync] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:6:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] ([path]/node_modules/tapable/lib/Hook.js:35:21)
    at Compiler.compile ([path]/node_modules/webpack/lib/Compiler.js:427:28)
    at readRecords.err ([path]/node_modules/webpack/lib/Compiler.js:217:11)
    at Compiler.readRecords ([path]/node_modules/webpack/lib/Compiler.js:324:11)
    at ([path]/node_modules/webpack/lib/Compiler.js:214:10)
    at AsyncSeriesHook.eval [as callAsync] (eval at create ([path]/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:6:1)

This comment has been minimized.

sherlock1982 commented Mar 2, 2018

Use the latest Webpack and Html-webpack-plugin version. Though there's another issue with this.
It's similar to this numical/script-ext-html-webpack-plugin#41


This comment has been minimized.

almothafar commented Mar 16, 2018

A fork support webpack 4 is here:

you can install it using npm i webpack-inline-manifest-plugin -D so webpack-inline-manifest-plugin instead of inline-manifest-webpack-plugin


This comment has been minimized.


szrenwei commented May 7, 2018

updated!!! please use the v4 of this plugin, sorry for update so late..

@szrenwei szrenwei closed this May 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment