-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Milestone
Description
Describe the problem
In the FAQ, it is said I can add a middleware in dev mode by creating a vite plugin.
But my middleware is a typescript file and I cannot import it into my svelte.config.js.
I tried to rename svelte.config.js to svelte.config.ts but got an error "Cannot find module 'C:\Users\JEROME\Documents\MesDeveloppements\SitesInternet\tarteen\svelte.config.cjs'".
Describe the proposed solution
Allow svelte config file to be written in typescript.
Alternatives considered
Don't see any
Importance
would make my life easier
Additional Information
No response
janosh, tbdrz, Acmion, DetachHead, KotlinIsland and 89 more