Skip to content

Commit

Permalink
build: minify CSS in build bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
kyubisation committed Nov 22, 2023
1 parent 36b5af4 commit 6f09596
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ export default defineConfig((config) =>
: []),
],
build: {
cssMinify: isProdBuild(config),
lib: {
// Include all directories containing an index.ts
entry: globIndexMap(packageRoot),
Expand Down

0 comments on commit 6f09596

Please sign in to comment.