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
Can a svelte kit app work on browsers without native es modules support ?
I tried using @vitejs/plugin-legacy, but compilation fails with the following error.
Logs
> @vitejs/plugin-legacy does not support library mode.
Error: @vitejs/plugin-legacy does not support library mode.
at Object.configResolved (/home/runner/work/sanipasse/sanipasse/node_modules/@vitejs/plugin-legacy/index.js:162:15)
at /home/runner/work/sanipasse/sanipasse/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:71748:127
at Array.map (<anonymous>)
at resolveConfig (/home/runner/work/sanipasse/sanipasse/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:71748:35)
at async doBuild (/home/runner/work/sanipasse/sanipasse/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:45273:20)
at async Object.build (/home/runner/work/sanipasse/sanipasse/node_modules/vite/dist/node/chunks/dep-0ed4fbc0.js:45261:16)
at async build_service_worker (file:///home/runner/work/sanipasse/sanipasse/node_modules/@sveltejs/kit/dist/chunks/index4.js:710:2)
at async build (file:///home/runner/work/sanipasse/sanipasse/node_modules/@sveltejs/kit/dist/chunks/index4.js:239:3)
at async file:///home/runner/work/sanipasse/sanipasse/node_modules/@sveltejs/kit/dist/cli.js:873:23
Describe the bug
Can a svelte kit app work on browsers without native es modules support ?
I tried using
@vitejs/plugin-legacy
, but compilation fails with the following error.Logs
https://github.com/lovasoa/sanipasse/runs/2956707572?check_suite_focus=true
To Reproduce
in svelte config
Information about your SvelteKit Installation:
Diagnostics
Severity
blocking some users
The text was updated successfully, but these errors were encountered: