-
Notifications
You must be signed in to change notification settings - Fork 29
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
webpack.optimize.OccurenceOrderPlugin is not a constructor Error #155
Comments
In my pull request, the same error is occurred. If you confirmed, I could fix it. |
If you're using Webpack 2, then please uninstall |
As said above OccurenceOrderPlugin is renamed to OccurrenceOrderPlugin (spelling mistake) However it was not mentioned that it is now enabled by default - so you can just remove the line
|
@simeyla It does not work. Then output: |
When I run
npm test
, I encountered following error.As I dig the reason, I guess it caused because
OccurenceOrderPlugin
has been renamed toOccurrenceOrderPlugin
. See webpack/webpack#1964 .All tests are passed when I change
OccurenceOrderPlugin
toOccurrenceOrderPlugin
in the test.However, I'm not sure it is a common problem or just for me.
The text was updated successfully, but these errors were encountered: