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: patch esm resolution issue causing webpack build error #5145

Merged
merged 2 commits into from
Aug 13, 2022

Conversation

benelan
Copy link
Member

@benelan benelan commented Aug 12, 2022

Related Issue: #5141

Summary

Patches an ES module resolution error caused by adding type="module" in our package.json. I confirmed it works using npm link w/ our webpack example.

@benelan benelan requested a review from jcfranco August 12, 2022 20:53
@benelan benelan requested a review from a team as a code owner August 12, 2022 20:53
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Aug 12, 2022
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬
🍬🍬🍭🍭🍭🍬🍭🍬🍬🍬🍬🍬🍭🍬🍭🍭🍭🍭🍬🍭🍭🍭🍭🍬🍭🍭🍭🍭🍭🍬🍭🍬
🍬🍭🍬🍬🍬🍬🍭🍬🍬🍬🍬🍬🍭🍬🍭🍬🍬🍬🍬🍭🍬🍬🍬🍬🍬🍬🍭🍬🍬🍬🍭🍬
🍬🍬🍭🍭🍬🍬🍭🍬🍬🍭🍬🍬🍭🍬🍭🍭🍭🍬🍬🍭🍭🍭🍬🍬🍬🍬🍭🍬🍬🍬🍭🍬
🍬🍬🍬🍬🍭🍬🍭🍬🍭🍬🍭🍬🍭🍬🍭🍬🍬🍬🍬🍭🍬🍬🍬🍬🍬🍬🍭🍬🍬🍬🍬🍬
🍬🍭🍭🍭🍬🍬🍬🍭🍬🍬🍬🍭🍬🍬🍭🍭🍭🍭🍬🍭🍭🍭🍭🍬🍬🍬🍭🍬🍬🍬🍭🍬
🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬🍬

@benelan benelan merged commit 81e7c33 into master Aug 13, 2022
@benelan benelan deleted the benelan/fix-webpack-build branch August 13, 2022 02:02
benelan added a commit that referenced this pull request Dec 14, 2023
**Related Issue:** #8421 

## Summary

Ensure the build used for `next` releases includes patches. This fixes a
regression caused by #8325, where we removed the extra build on
prepublish. The extra build was fixing some issues caused by `npm run
test:prerender`, where a build occurred that didn't run pre/post build
scripts, including the ESM resolution patch added in #5145.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants