Skip to content

Commit

Permalink
Merge pull request #219 from nksaraf/css-minify
Browse files Browse the repository at this point in the history
fix: cssMinify enabled by default for both ssr and cliet
  • Loading branch information
nksaraf authored Feb 29, 2024
2 parents 03e3cec + 55fde20 commit 210167b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gold-feet-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": patch
---

fix: cssMinify enabled by default for both ssr and cliet
2 changes: 2 additions & 0 deletions packages/vinxi/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ function handerBuild() {
preserveEntrySignatures: "exports-only",
},
ssr: true,
cssMinify: 'esbuild',
minify: process.env.MINIFY !== "false" ?? true,
manifest: true,
target: "node18",
Expand Down Expand Up @@ -729,6 +730,7 @@ function browserBuild() {
},
minify: process.env.MINIFY !== "false" ?? true,
manifest: true,
cssMinify: 'esbuild',
outDir: join(router.outDir, router.base),
target: "esnext",
emptyOutDir: false,
Expand Down

0 comments on commit 210167b

Please sign in to comment.