You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…19538)
**What's the problem this PR addresses?**
In #18921 I enabled `absoluteRuntime` for everyone (it was only enabled for PnP users) but didn't consider that people used the babel preset outside of the webpack build.
Fixes#19448 - ~~Since it doesn't contain a repro I can't be certain but based on feedback from @koshea in #18921 (comment) I'll assume @RossMcMillan92 is doing the same thing, because when next is building it doesn't leave absolute paths as external.~~
Confirmed in #18921 (comment)
**How did you fix it?**
Only enable `absoluteRuntime` when the preset is running under `babel-loader`
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
vercel
locked as resolved and limited conversation to collaborators
Jan 28, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
Next has changed the way it imports
@babel/runtime
Next@10.0.1
Next@10.0.2
This has broken our deployments, as we build on one image and deploy on a different one, which would require a different absolute path.
We now get MODULE_NOT_FOUND errors.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
@babel/runtime
is required with a relative path, so we don't have to worry about external environment.Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
The text was updated successfully, but these errors were encountered: