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

Can IE11 be supported any more? #502

Open
Lordrian opened this issue Jun 17, 2024 · 2 comments
Open

Can IE11 be supported any more? #502

Lordrian opened this issue Jun 17, 2024 · 2 comments

Comments

@Lordrian
Copy link

Hi , I'm using [email protected] in my project, I found it can not work on IE11, and this problem has been mentioned in here. But I still wanna use new ablilties in latest version, so will IE11 be supported any more?

Hope for applies, Thx.

@mlisowsk
Copy link

mlisowsk commented Jun 17, 2024

Can you post the exact error message from the browser console? I am still using driver.js v0.98 and also need IE11 support, hesitating to make the switch to v1.x.

One solution could be to generate your own minified version by using vite options to restrict to IE11 feature set. Try changing vite.config.ts line 18 from target: "ES2019" to target: "IE11". Then rebuild the minified file by running npm run build.
That could work if no polyfills are needed.

@Lordrian
Copy link
Author

Can you post the exact error message from the browser console? I am still using driver.js v0.98 and also need IE11 support, hesitating to make the switch to v1.x.

One solution could be to generate your own minified version by using vite options to restrict to IE11 feature set. Try changing vite.config.ts line 18 from target: "ES2019" to target: "IE11". Then rebuild the minified file by running npm run build. That could work if no polyfills are needed.

Thank you for your reply. There's no error message on the browser console, but my page became white. Your advise seems working in TS, but my project didn't use it. Babel-polyfill(ver6.26.0) doesn't make driver.js work in my project as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants