Skip to content
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

compiler.hooks not defined. Running with webpack 1.15.0 #66

Open
gdad-s-river opened this issue Nov 15, 2018 · 1 comment
Open

compiler.hooks not defined. Running with webpack 1.15.0 #66

gdad-s-river opened this issue Nov 15, 2018 · 1 comment

Comments

@gdad-s-river
Copy link

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
@gdad-s-river
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant