-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
flat is not function when run i android 9 #9635
Comments
and when i use |
Please provide the specific error you're receiving and ideally a minimal reproduction |
Ah ok - you can fix this by polyfilling APIs you need - |
Thanks, finally, I manually imported core-js to solve it, but the problem is that each change becomes dangerous. Does remix plan to support the |
I'm not familiar with that plugin - can you not just add it to your vite config alongside the Remix plugin? If that doesn't work, I would open a new issue with a reproduction of that plugins incompatibility. |
|
Yes, it doesn't work at all, and I create mini demo, you can see generate a polyfill asset when build, but html and manifest not include that https://stackblitz.com/edit/remix-run-remix-ntmn6p?file=vite.config.ts and thanks again for the heads up about the polyfill.io risk |
I spent a bit of time looking at @vitejs/plugin-legacy and it seems to do post-processing on the build target's html to make it compatible with older browsers, if there were a way to get that working it seems like the browser compatibility of remix would be incredibly strong |
Reproduction
official demo
System Info
Used Package Manager
npm
Expected Behavior
android 9 work fine
Actual Behavior
break in android 9
The text was updated successfully, but these errors were encountered: