Skip to content

Conversation

@elliottconduce
Copy link

This a fix for the following error: TypeError: webpack.optimize.OccurenceOrderPlugin is not a constructor

I am getting this error with Webpack version 3.4.1, but it looks like it will also happen with earlier versions:
webpack/webpack#1964

An alternative solution would be removing this plugin altogether, since it does not appear to be needed anymore: https://gist.github.com/sokra/27b24881210b56bbaff7#occurrence-order

@busypeoples
Copy link
Collaborator

Thanks! We will have a look at the PR in the coming days!

@elliottconduce
Copy link
Author

Sure thing, happy to help :)

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

Successfully merging this pull request may close these issues.

2 participants