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: generated plugin template #1717

Merged
merged 5 commits into from
Aug 1, 2020
Merged

fix: generated plugin template #1717

merged 5 commits into from
Aug 1, 2020

Conversation

snitin315
Copy link
Member

@snitin315 snitin315 commented Jul 31, 2020

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
YES
If relevant, did you update the documentation?
NA
Summary
Fixes #1623, the closing brace (}) was missing.

Screenshot at 2020-07-31 17-24-09

Does this PR introduce a breaking change?
No

Other information

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should create smoke tests for this to avoid this stupid errors 😄 But we can do it in separate PR. Test is not hard to write:

  • Run generate plugin
  • Inject plugin to webpack, plugin can be simple, for example write console.log('Works')
  • Check it on stdout

Copy link
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, let's do same test for loader

@snitin315
Copy link
Member Author

CI is not working 😞

@webpack-bot
Copy link

@anshumanv Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@evilebottnawi Please review the new changes.

@snitin315 snitin315 merged commit 1249e1e into next Aug 1, 2020
@snitin315 snitin315 deleted the fix/generated-plugin branch August 1, 2020 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error loading a plugin created via plugin command
5 participants