@24i/smartapps-bigscreen-rnv-build-engine 0.15.1-alpha.1956 → 0.15.1-alpha.1959

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.
@@ -40,7 +40,7 @@ const buildCoreWebpackProject = async (c) => {
40
40
  }
41
41
  const envVars = `PLATFORM=${platform} NODE_ENV=${environment} ${debugVariables}`;
42
42
  const wpConfigPath = `./platformBuilds/${appId}_${platform}/webpack.config.${configName}.js`;
43
- const wpCmd = `node ${wp} build --config ${wpConfigPath}`;
43
+ const wpCmd = `node ${wp} build --mode production --config ${wpConfigPath}`;
44
44
  await rnv_1.Exec.executeAsync(c, `npx cross-env ${envVars} ${wpCmd}`);
45
45
  const coloredBuildDir = rnv_1.Logger.chalk().cyan(rnv_1.Common.getPlatformProjectDir(c));
46
46
  rnv_1.Logger.logSuccess(`Your build is located in ${coloredBuildDir}.`);
@@ -2,11 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildXboxProject = void 0;
4
4
  const rnv_1 = require("rnv");
5
- const sdk_webpack_1 = require("@rnv/sdk-webpack");
6
5
  const child_process_1 = require("child_process");
7
6
  const fs_1 = require("fs");
8
7
  const manifoldjs_windows10_1 = require("manifoldjs-windows10");
9
8
  const xml2js_1 = require("xml2js");
9
+ const sdk_webpack_1 = require("../sdk-webpack");
10
10
  const resolvers_1 = require("../../resolvers");
11
11
  const fs = fs_1.promises;
12
12
  const { logTask } = rnv_1.Logger;
@@ -86,7 +86,7 @@ const makeRules = (config, projectDir, isDevServer) => ({
86
86
  generator: {
87
87
  outputPath: 'content/fonts/',
88
88
  publicPath: '../fonts/',
89
- }
89
+ },
90
90
  },
91
91
  sourcemap: {
92
92
  test: /\.[tj]sx$/,
@@ -156,6 +156,7 @@ function generateConfig(config) {
156
156
  filename: path_1.default.resolve(appBuildEngineProjectPublicDir, './index.html'),
157
157
  template: path_1.default.resolve(appBuildDir, './template.js'),
158
158
  minify: false,
159
+ scriptLoading: 'blocking',
159
160
  templateParameters: {
160
161
  ...config,
161
162
  debug: process.env.DEBUG,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.15.1-alpha.1956+528644e7",
3
+ "version": "0.15.1-alpha.1959+719b0514",
4
4
  "description": "Package with build engine for SmartApps BIGscreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
@@ -83,5 +83,5 @@
83
83
  "keywords": [],
84
84
  "author": "24i",
85
85
  "license": "ISC",
86
- "gitHead": "528644e72b4fa5bdd3fdc8853d7bb061c8cd9048"
86
+ "gitHead": "719b051417c0baeea712063045a39ddd2fe283e6"
87
87
  }