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

Default ensureModuleApiPolyfill to true #347

Merged

Conversation

pzuraq
Copy link

@pzuraq pzuraq commented Feb 24, 2021

When we released the refactor to transform to module names instead of
the API polyfill, sometimes those modules would transform correctly,
and sometimes they wouldn't. There appears to be a race condition
between babel-plugin-ember-modules-api-polyfill, this plugin, and the
AMD module transform.

This PR updates the default for ensureModuleApiPolyfill to true to
make sure we always transpile modules, and do not regress behavior.

Fixes emberjs/ember.js#19425

When we released the refactor to transform to module names instead of
the API polyfill, sometimes those modules would transform correctly,
and sometimes they wouldn't. There appears to be a race condition
between `babel-plugin-ember-modules-api-polyfill`, this plugin, and the
AMD module transform.

This PR updates the default for `ensureModuleApiPolyfill` to true to
make sure we always transpile modules, and do not regress behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] New app CI tests broken
2 participants