gdborton / webpack-parallel-uglify-plugin

A faster uglifyjs plugin.
466 stars 34 forks source link

Cannot read property 'tapAsync' of undefined #70

Closed ankeji closed 3 years ago

ankeji commented 3 years ago

你的这个2.0.0版本有问题,1.0.0就是没有问题的,会报错Cannot read property 'tapAsync' of undefined

millievn commented 3 years ago

I get the same error when using "webpack-cli": "^3.3.12" and "webpack-parallel-uglify-plugin": "^2.0.0"

gdborton commented 3 years ago

2.0.0 was breaking, updated to newer versions of webpack, and dropped support for older versions. I'll update the changelog to be more descriptive. I believe webpack-cli uses webpack v3.

changelog: https://github.com/gdborton/webpack-parallel-uglify-plugin/blob/master/CHANGELOG.md

Will be closing this out, feel free to reopen if you think this is a mistake or if you see an issue when using w/ webpack 5.