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

Cannot call a class as a function #53

Closed
brainee opened this issue Jul 9, 2018 · 1 comment
Closed

Cannot call a class as a function #53

brainee opened this issue Jul 9, 2018 · 1 comment

Comments

@brainee
Copy link

brainee commented Jul 9, 2018

when i use webpack-parallel-uglify-plugin instead of UglifyJsPlugin,ti raise up an error,but use UglifyJsPlugin the project is running success,the error is :07.js:formatted:5238 Uncaught TypeError: Cannot call a class as a function,my config is simple,pluginArr.push(new ParallelUglifyPlugin({
cacheDir: '.cache/',
uglifyJS:{
compress: {
warnings: true,
}
}
})
);

@gdborton
Copy link
Owner

gdborton commented Sep 9, 2020

@brainee Given the age of this issue, I expect that you were able to address the problem yourself or have updated to the plugin maintained by the webpack team. I'm going to close this, but if you still need help feel free to reopen and I'll try to help get you sorted out.

@gdborton gdborton closed this as completed Sep 9, 2020
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

2 participants