-
Notifications
You must be signed in to change notification settings - Fork 143
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
QUnit transpilation issue when using targets that include IE11 #731
Comments
The issue here is due to QUnit being babel'ed in CI in a way that forces a different transpilation (due to the inclusion of IE11 in the targets when running in CI). QUnit doesn't actually need to be babel'ed at all, and if you add it to The return require('@embroider/compat').compatBuild(app, Webpack, {
skipBabel: [
{
package: 'qunit',
},
],
}); |
That worked! However, it now looks like #730 is affecting tests 🤔 Thanks for the progress! <3 |
The full explanation for what's happening here is:
|
Do not transpile for `IE11` (in CI or production). See embroider-build/embroider#731
note: This fixes an embroider related issue, where when IE11 was included as a build target (in CI mode) es6-promise, babel, and webpack didn’t get along. (As described [here](embroider-build/embroider#731 (comment)))
* Enable embroider-safe ember-try scenario * Use same polyfil as @ember/test-helpers & unit note: This fixes an embroider related issue, where when IE11 was included as a build target (in CI mode) es6-promise, babel, and webpack didn’t get along. (As described [here](embroider-build/embroider#731 (comment))) * Add embroider-optimized scenario
Reproduction: NullVoxPopuli/limber#9
Command ran:
npm run test:ember
(ember test)Error
Logs
https://github.com/NullVoxPopuli/limber/pull/9/checks?check_run_id=2175531805
The text was updated successfully, but these errors were encountered: