Skip to content

Commit

Permalink
fix(demo): disable asset inlining
Browse files Browse the repository at this point in the history
because it make typescript feature assets fail AND considerably increase common module size (14mo => 25mo)
  • Loading branch information
Loïc Mangeonjean committed Oct 8, 2024
1 parent 9f1e934 commit 39fc415
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion demo/vite.netlify.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const localDependencies = Object.entries(pkg.dependencies)

export default defineConfig({
build: {
target: 'esnext'
target: 'esnext',
assetsInlineLimit: 0
},
worker: {
format: 'es'
Expand Down

0 comments on commit 39fc415

Please sign in to comment.