You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vite配置了legacy打包后在safari 15.1中仍无法使用
控制台报错.at() is undefined,at方法safari最低支持15.4,我本来想使用legacy兼容一下,结果打包后inex.html虽然有nomodule的script,但是在15.1的safari应该是支持module的,所以还是无法使用,在跳转页面时就会报错 .at() is undefined。
这要怎么解决?另外请问vite打包什么时候能支持es5?
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
Describe the bug
vite配置了legacy打包后在safari 15.1中仍无法使用
控制台报错
.at() is undefined
,at方法safari最低支持15.4,我本来想使用legacy兼容一下,结果打包后inex.html虽然有nomodule的script,但是在15.1的safari应该是支持module的,所以还是无法使用,在跳转页面时就会报错.at() is undefined
。这要怎么解决?另外请问vite打包什么时候能支持es5?
Reproduction
none
Steps to reproduce
No response
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: