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

Avoid __webpack_require__ conflicts #633

Merged
merged 2 commits into from
Dec 31, 2020
Merged

Avoid __webpack_require__ conflicts #633

merged 2 commits into from
Dec 31, 2020

Conversation

guybedford
Copy link
Contributor

This implements a very simple fix for __webpack_require__ scoping conflicts due to webpack bug webpack/webpack#1054, by simply replacing this identifier with a ncc unique identifier such that ncc bundles can be bundled with webpack without conflict.

I can confirm this approach resolves #589.

//cc @sokra

@styfle styfle added the automerge Automatically merge PR once checks pass label Dec 31, 2020
@kodiakhq kodiakhq bot merged commit fd3961b into master Dec 31, 2020
@kodiakhq kodiakhq bot deleted the webpack-require branch December 31, 2020 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest 0.24 compiled npm package cause issue in app built with webpack
3 participants