Replies: 1 comment 3 replies
-
|
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Wkwebview does not support referencing JS with type="module".

And type="module" is required by vite by default.Is there a way to build dist that is not type="module"
Reproduction
https://stackblitz.com/edit/vitejs-vite-qujguz?file=style.css
Steps to reproduce
No response
System Info
System: OS: Windows 10 10.0.19045 CPU: (6) x64 Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz Memory: 1.31 GB / 15.87 GB Binaries: Node: 16.17.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD npm: 8.15.0 - C:\Program Files\nodejs\npm.CMD pnpm: 8.6.5 - C:\Program Files\nodejs\pnpm.CMD Browsers: Chrome: bookmarks.html initial_preferences Edge: Spartan (44.19041.1266.0), Chromium (117.0.2045.43) Internet Explorer: 11.0.19041.1566 npmPackages: @vitejs/plugin-legacy: ^4.1.1 => 4.1.1 @vitejs/plugin-vue2: ^1.1.2 => 1.1.2 @vitejs/plugin-vue2-jsx: ^1.0.2 => 1.1.0 vite: ^4.4.4 => 4.4.9Used Package Manager
npm
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions