Replies: 1 comment 1 reply
-
you should be able to use https://github.com/sveltejs/vite-plugin-svelte/blob/main/docs/config.md#dynamiccompileoptions like vitePlugin:{
dynamicCompileOptions({filename}){
if(!filename.includes('node_modules')){
return {runes: true}
}
}
} in svelte.config.js |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Please add an option to enable runes-only mode only for project files, but not for NPM libraries. Currently, many NPM libraries fail because runes mode is not supported by them, but project authors may want to enable runes mode for every file in their project.
Beta Was this translation helpful? Give feedback.
All reactions