webpack-concat-plugin
webpack-concat-plugin copied to clipboard
compiler.hooks not defined. Running with webpack 1.15.0
Does this plugin work with webpack 1.x ? I've a legacy project with webpack 1.15.0 and when I tried using the plugin to concatenate a bunch of legacy js files ( having globals all around, without any module system ), this error was thrown.
/Users/arihant.verma/Documents/code/fore/node_modules/webpack-concat-plugin/release.js:346
[0] compiler.hooks.compilation.tap('webpackConcatPlugin', function (compilation) {
[0] ^
[0]
[0] TypeError: Cannot read property 'compilation' of undefined
I think this happens because I'm using webpack 1.15.0. Could you tell me @hxlniada, which version would be compatible with webpack 1.15.0 ? I couldn't find any hints since there are no release notes attached with releases.