-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
[v7.21.0] includeExternalHelpers option breaking with latest @babel #384
Comments
@babel/runtime/helpers/initializerDefineProperty/_index.mjs
imported from @babel/runtime/helpers/esm/initializerDefineProperty
@babel/runtime/helpers/initializerDefineProperty/_index.mjs
@babel/runtime/helpers/initializerDefineProperty/_index.mjs
FWIW we're having having a similar issue with the Qonto.com apps. we're also using |
Can one of y'all make a reproduction? |
|
Thank you, will try to review the demo this afternoon and see what we can do to mitigate... |
Can you test now that https://github.com/babel/babel/releases/tag/v7.13.9 is published? I think babel/babel#12919 was specifically fixing htis issue... |
@rwjblue that fixed it for me! thanks |
I can confirm. Works well on the crates.io codebase too 👍 thank you @rwjblue 🤗 |
looks like we're still having similar issues on some other apps though:
|
@Turbo87 And you can confirm you only have "good" Babel runtime versions (e.g. with yarn why)? |
Basically babel is including the extension in the import paths for the helpers, and our transpilation doesn't support modules at runtime including the extension. |
I cleared node_modules and ran
npm install
with version7.21.0
and when I runember serve
I get the following error:...
I tried using npm-force-resolutions and set @babel/runtime: 7.12.0 but then I get a different error when running ember server:
I'm not sure if something is messed up with upstream babel or otherwise? really stuck
possibly related:
ConnectedHomes#1
babel/babel#12881
Update
I figured out that removing the following previously working config clears the error and loads the app:
Unsure why that would suddenly break? (ember-cli-babel 7.21.0)
The text was updated successfully, but these errors were encountered: