-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Application breaks on IE11 with Ember.js 3.6 #17497
Comments
Hmm, |
That's the first error I saw, I think. I reverted back to 3.5 now so can't check right away, but I'll work on a reproduction app tomorrow and get back to you. |
Awesome, thank you! |
OK I figured it out. In the end it was my own fault, because I was importing the template compiler with
instead of
How come it didn't do the transpilation when importing directly from Also, I figured it out through a StackOverflow answer. Since the template compiler is part of the core, maybe this is something that belongs in the guide? For instance on https://guides.emberjs.com/release/addons-and-dependencies/managing-dependencies/? I would be happy to open up a PR to document the proper way to import the template compiler somewhere in the docs. |
OK I see, thanks! |
Yesterday we upgraded our app to Ember.js 3.6 but noticed that that broke it on IE11. We've had IE11 set as a target in
config/targets.js
this whole time.It breaks on the first
define
inapp.js
, i.e. the bundle containing all the application-specific Javascript. The error is:'define' is undefined
I see that PRs #17188 and #17246 might have something to do with it. I checked the value of
needsLegacyBuild
from https://github.com/emberjs/ember.js/blob/v3.6.1/lib/index.js#L84 during the build and it's set totrue
, as you would expect. So I'm not too sure about where the bug is.The text was updated successfully, but these errors were encountered: