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
I now use "vite + vue3" to develop "Chrome ext", but now I encounter a very troublesome problem, that is, when I use the "import()" asynchronous function, "vite build" will add the fragment of import {} from "./preload-helper.js", but chrome ext does not support this. I consulted the official vite documentation and did not have this option to disable this preload, even if I used build Polyfillmodulepreload = false, still not effective. Can you have such an option to prohibit perload?
Clear and concise description of the problem
I now use "vite + vue3" to develop "Chrome ext", but now I encounter a very troublesome problem, that is, when I use the "import()" asynchronous function, "vite build" will add the fragment of import {} from "./preload-helper.js", but chrome ext does not support this. I consulted the official vite documentation and did not have this option to disable this preload, even if I used build Polyfillmodulepreload = false, still not effective. Can you have such an option to prohibit perload?
Suggested solution
build.preloads = false
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: