We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb52c4 commit ac3815eCopy full SHA for ac3815e
apps/webapp/vite.config.ts
@@ -19,7 +19,7 @@ export default defineConfig(({ isSsrBuild }) => ({
19
build: {
20
target: "ES2022",
21
sourcemap: true,
22
- minify: false,
+ minify: process.env.NODE_ENV === 'production',
23
rollupOptions: isSsrBuild
24
? // This includes ./server/app.ts in the Vite build process
25
// Any server integrations that need app code should go there
0 commit comments