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

README.md has a Spelling mistakes #318

Open
3 tasks
DoverDee opened this issue Jun 28, 2018 · 1 comment
Open
3 tasks

README.md has a Spelling mistakes #318

DoverDee opened this issue Jun 28, 2018 · 1 comment

Comments

@DoverDee
Copy link

Documentation Is:

  • Missing
  • [√] Needed
  • Confusing
  • Not Sure?

Please Explain in Detail...

Textual location:
Next, eable hot reloading in your webpack config:

  1. Add the following plugins to the plugins array:
    plugins: [
    // OccurenceOrderPlugin is needed for webpack 1.x only
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.HotModuleReplacementPlugin(),
    // Use NoErrorsPlugin for webpack 1.x
    new webpack.NoEmitOnErrorsPlugin()
    ]
    Issue:
    Report TypeError: webpack.optimize.OccurenceOrderPlugin is not a constructor on console when I CLI npm run build.

Your Proposal for Changes

Next, eable hot reloading in your webpack config:
  1. Add the following plugins to the plugins array:
    plugins: [
    // OccurenceOrderPlugin is needed for webpack 1.x only
    new webpack.optimize.OccurrenceOrderPlugin(),
    new webpack.HotModuleReplacementPlugin(),
    // Use NoErrorsPlugin for webpack 1.x
    new webpack.NoEmitOnErrorsPlugin()
    ]
    First field in plugins has changed."OccurenceOrderPlugin"->"OccurrenceOrderPlugin".
@glenjamin
Copy link
Collaborator

That plugin is only needed for webpack v1. The plugin itself had a spelling error in its name.

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