-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Description
When I install optimize-css-assets-webpack-plugin@4.0,my project will build failed, below is the errors.
⠋ building for production.../Users/Yuga/Desktop/Developing/compass/node_modules/last-call-webpack-plugin/src/index.js:170
compiler.hooks.compilation.tap(
^
TypeError: Cannot read property 'compilation' of undefined
at OptimizeCssAssetsWebpackPlugin.apply (/Users/Yuga/Desktop/Developing/compass/node_modules/last-call-webpack-plugin/src/index.js:170:20)
at Compiler.apply (/Users/Yuga/Desktop/Developing/compass/node_modules/tapable/lib/Tapable.js:375:16)
at webpack (/Users/Yuga/Desktop/Developing/compass/node_modules/webpack/lib/webpack.js:33:19)
at err (/Users/Yuga/Desktop/Developing/compass/build/build.js:19:3)
at next (/Users/Yuga/Desktop/Developing/compass/node_modules/rimraf/rimraf.js:75:7)
at FSReqWrap.CB [as oncomplete] (/Users/Yuga/Desktop/Developing/compass/node_modules/rimraf/rimraf.js:111:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.this is part of my package.json:
"optimize-css-assets-webpack-plugin": "^4.0.0",
"webpack": "^3.6.0",rareyesdev
Metadata
Metadata
Assignees
Labels
No labels