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 null module externals #14118

Merged
merged 2 commits into from Sep 3, 2021
Merged

fix null module externals #14118

merged 2 commits into from Sep 3, 2021

Conversation

sokra
Copy link
Member

@sokra sokra commented Sep 2, 2021

What kind of change does this PR introduce?
bugfix

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)

@sokra sokra force-pushed the bugfix/multiple-module-externals branch from 4d9b955 to b50d033 Compare September 3, 2021 11:48
@sokra sokra closed this Sep 3, 2021
@sokra sokra deleted the bugfix/multiple-module-externals branch September 3, 2021 14:46
@sokra sokra restored the bugfix/multiple-module-externals branch September 3, 2021 14:46
@sokra sokra deleted the bugfix/multiple-module-externals branch September 3, 2021 14:46
@sokra sokra restored the bugfix/multiple-module-externals branch September 3, 2021 14:46
@sokra sokra reopened this Sep 3, 2021
@webpack-bot
Copy link
Contributor

@sokra The most important CI builds failed. This way your PR can't be merged.

Please take a look at the CI results from azure (6 errors / 0 warnings) and appveyor (success) and fix these issues.

@sokra sokra merged commit a513b13 into main Sep 3, 2021
@sokra sokra deleted the bugfix/multiple-module-externals branch September 3, 2021 14:46
@@ -400,7 +405,7 @@ class ExternalModule extends Module {
* @returns {string} a unique identifier of the module
*/
identifier() {
return "external " + JSON.stringify(this.request);
return `external ${this.externalType} ${JSON.stringify(this.request)}`;
Copy link
Member Author

Choose a reason for hiding this comment

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

might fix vercel/next.js#28567

need to verify that...

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.

None yet

2 participants