Skip to content

AssignLibraryPlugin: improve error message for invalid library name #11913

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

Merged
merged 3 commits into from
Jan 18, 2021

Conversation

snitin315
Copy link
Member

What kind of change does this PR introduce?
improvement
Fixes #11632

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?
Nothing

@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@webpack-bot
Copy link
Contributor

It looks like this Pull Request doesn't include enough test cases (based on Code Coverage analysis of the PR diff).

A PR need to be covered by tests if you add a new feature (we want to make sure that your feature is working) or if you fix a bug (we want to make sure that we don't run into a regression in future).

@snitin315 Please check if this is appliable to your PR and if you can add more test cases.

Read the test readme for details how to write test cases.

@snitin315 snitin315 closed this Nov 5, 2020
@snitin315 snitin315 reopened this Nov 5, 2020
@alexander-akait
Copy link
Member

/cc @sokra

@webpack-bot
Copy link
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@sokra sokra force-pushed the fix/error-message branch from f88d33c to 1ca9f85 Compare January 18, 2021 15:22
@sokra sokra merged commit b7cbe9d into webpack:master Jan 18, 2021
@sokra
Copy link
Member

sokra commented Jan 18, 2021

Thanks

@snitin315 snitin315 deleted the fix/error-message branch January 19, 2021 00:36
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.

[5.0.0] Possible (AssignLibraryPlugin.js) problem after upgrade to webpack 5.0.0
4 participants