Skip to content

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

@gdad-s-river

Description

@gdad-s-river

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions