Please notice warning/error in develop mode.
See original GitHub issueDescribe the problem
Svelte is blaze fast for new front end. I have big problem after work with Svelte Kit. I work hard ~4 hours per day for re-write my website from Hugo, React to full Svelte Kit (kit).
In develop mode, i have warning for un-use css and it’s not problem.
But my story start when go to Production mode. With Redux-Toolkit. Svelte Kit compiler show error with esm moule. redux not support ESM?. No, compiler can’t map redux-rtk to esm module. I need create a wrapper to @reduxjs/toolkit/dist
Next, i start enable legacy mode in vite. And .svelte-kit/output/client/vite-manifest.json
is not found. I can’t change any options with svelte.config.js compilerOptions
😦
After ~7 days for re-write. I back to Next.js with Layout RFC.
Describe the proposed solution
Please alert any problem with build early. In my case, i can’t wait for fixed it
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
@benmccann U can help me fix build with
@vitejs/plugin-legacy
? I’ll wait about 1 day, before moving all the code to Next.jsSorry for any direct request
I’m going to close this as a duplicate of https://github.com/sveltejs/kit/issues/7154. Please try the solution mentioned there: https://github.com/sveltejs/kit/issues/7154#issuecomment-1276404576