Skip to content

Commit ac3815e

Browse files
Update apps/webapp/vite.config.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 5eb52c4 commit ac3815e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default defineConfig(({ isSsrBuild }) => ({
1919
build: {
2020
target: "ES2022",
2121
sourcemap: true,
22-
minify: false,
22+
minify: process.env.NODE_ENV === 'production',
2323
rollupOptions: isSsrBuild
2424
? // This includes ./server/app.ts in the Vite build process
2525
// Any server integrations that need app code should go there

0 commit comments

Comments
 (0)