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

fix typo in OccurrenceOrderPlugin #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix typo in OccurrenceOrderPlugin #37

wants to merge 1 commit into from

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