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

Error loading a plugin created via plugin command #1623

Closed
snitin315 opened this issue Jun 8, 2020 · 1 comment · Fixed by #1717
Closed

Error loading a plugin created via plugin command #1623

snitin315 opened this issue Jun 8, 2020 · 1 comment · Fixed by #1717

Comments

@snitin315
Copy link
Member

snitin315 commented Jun 8, 2020

Describe the bug

The default plugin created via webpack plugin throws the following error when loaded in webpack.config.js

What is the current behavior?
SyntaxError Unexpected token '.'

To Reproduce

Steps to reproduce the behavior:

  1. generate a plugin via webpack-cli plugin
  2. Go to examples/simple
  3. Run webpack
  4. See error

Expected behavior
Should work properly

Screenshots
Screenshot at 2020-06-08 08-45-32

Please paste the results of webpack-cli info here, and mention other relevant information

Additional context

@alexander-akait
Copy link
Member

Feel free to fix it 👍

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 a pull request may close this issue.

2 participants