Skip to content

Commit

Permalink
Enable inline dynamic import
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritowu committed Jan 8, 2024
1 parent 7ec4298 commit ad6635d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export default defineConfig({
plugins: [sveltekit()],
build: {
rollupOptions: {
external: ['node_modules']
output: {
inlineDynamicImports: true
}
}
}
});

0 comments on commit ad6635d

Please sign in to comment.