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 ed168d4 commit 54e2e9cCopy full SHA for 54e2e9c
1 file changed
lib/services/bundler/bundler-compiler-service.ts
@@ -528,7 +528,7 @@ export class BundlerCompilerService
528
// Note: With Vite, we need `--` to prevent vite cli from erroring on unknown options.
529
const envParams = isVite
530
? [
531
- `--mode=${platformData.platformNameLowerCase}`,
+ `--mode=${prepareData.release ? "production" : "development"}`,
532
`--watch`,
533
"--",
534
...cliArgs,
0 commit comments