nativescript 9.0.0-alpha.10 → 9.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -284,7 +284,7 @@ class BundlerCompilerService extends events_1.EventEmitter {
284
284
  const cliArgs = await this.buildEnvCommandLineParams(envData, platformData, projectData, prepareData);
285
285
  const envParams = isVite
286
286
  ? [
287
- `--mode=${platformData.platformNameLowerCase}`,
287
+ `--mode=${prepareData.release ? "production" : "development"}`,
288
288
  `--watch`,
289
289
  "--",
290
290
  ...cliArgs,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nativescript",
3
3
  "main": "./lib/nativescript-cli-lib.js",
4
- "version": "9.0.0-alpha.10",
4
+ "version": "9.0.0-alpha.11",
5
5
  "author": "NativeScript <oss@nativescript.org>",
6
6
  "description": "Command-line interface for building NativeScript projects",
7
7
  "bin": {