-
Notifications
You must be signed in to change notification settings - Fork 795
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
Building for production doesn't support IE11 #2397
Comments
I was able to trace the issue to this part if the build code:
the generated index.html has this part |
Same issue here, I can not get the production build to run in IE 11. |
can you provide a repo case? maybe just index.html? |
Sure, here you go: If you run npm init stencil (and choose the app-package or the component-package)
cd your_directory
npm install
npm run build that should give you the setup :) I have included the build files, index.html and all. This should fix it, I'm just not sure if |
I'm having a slightly different problem with production builds in IE. Whenever I fire up a production build, and point IE at it, I get errors in the Console: Object doesn't support property or method 'assign' in It appears this error may be the cause of other errors down the line as well: Later on when addGlobalStyle is called, a |
Same issue as @RaviDesai.
|
@warapitiya Probably you wanted to mention RaviDesai instead of me? |
@manucorporat |
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
Building a stencil app for production won't support IE11 but dev builds using the
--es5
flag do.Expected behavior:
Production builds should support IE11.
Steps to reproduce:
Initialize a new Stencil app, run
stencil build
folder, serve thewww
directory. Check with IE11.Try with dev mode run
stencil build --dev --es5 --serve
. Then check with IE11.The text was updated successfully, but these errors were encountered: