-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When adding svelte plugin defineConfig.plugins throws unexpected token error. #574
Comments
What i am doing wrong? |
you mixed up with a svelte.config.ts that contains vite config. note that svelte.config must be .js, ts config file is not supported for svelte check the output of I recommend setting |
ok. How can i add additional configurations?
|
This tracker is for reproducible bugs with vite plugin svelte. For questions and support please use https://svelte.dev/chat help section for issues with micro vite plugin i recommend contacting them directly |
Describe the bug
When i add in vite.config.ts :
i get following:
repro: https://stackblitz.com/edit/vitejs-vite-anfcqc?file=svelte.config.ts,package.json&terminal=dev
Reproduction URL
https://stackblitz.com/edit/vitejs-vite-anfcqc?file=svelte.config.ts,package.json&terminal=dev
Reproduction
No response
Logs
No response
System Info
The text was updated successfully, but these errors were encountered: