Skip to content

Commit

Permalink
fix: disable cssCodeSplit by default in lib mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 30, 2020
1 parent 082c8e1 commit e64509a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/build.ts
Expand Up @@ -121,7 +121,7 @@ export function resolveBuildOptions(
outDir: 'dist',
assetsDir: 'assets',
assetsInlineLimit: 4096,
cssCodeSplit: true,
cssCodeSplit: !raw?.lib,
sourcemap: false,
rollupOptions: {},
minify: 'terser',
Expand Down

0 comments on commit e64509a

Please sign in to comment.