@24i/smartapps-bigscreen-rnv-build-engine 0.0.2-alpha.1352 → 0.0.2-alpha.1353
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.
|
@@ -18,6 +18,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
18
18
|
__setModuleDefault(result, mod);
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
22
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
23
|
+
};
|
|
21
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
25
|
exports.generateConfig = void 0;
|
|
23
26
|
const fs = __importStar(require("fs"));
|
|
@@ -25,7 +28,7 @@ const path = __importStar(require("path"));
|
|
|
25
28
|
const MiniCssExtractPlugin = __importStar(require("mini-css-extract-plugin"));
|
|
26
29
|
const FileManagerPlugin = __importStar(require("filemanager-webpack-plugin"));
|
|
27
30
|
const webpack = __importStar(require("webpack"));
|
|
28
|
-
const
|
|
31
|
+
const html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
|
|
29
32
|
const HtmlWebpackHarddiskPlugin = __importStar(require("html-webpack-harddisk-plugin"));
|
|
30
33
|
const webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
|
|
31
34
|
const smartapps_bigscreen_rnv_build_engine_1 = require("@24i/smartapps-bigscreen-rnv-build-engine");
|
|
@@ -187,7 +190,7 @@ function generateConfig(config) {
|
|
|
187
190
|
WEBPACK_INJECTION_APP_PLATFORM: JSON.stringify(PLATFORM || ''),
|
|
188
191
|
WEBPACK_INJECTION_APP_RUNTIME_CONFIG_PATH: JSON.stringify(appRuntimeConfigPath),
|
|
189
192
|
});
|
|
190
|
-
plugins.html = new
|
|
193
|
+
plugins.html = new html_webpack_plugin_1.default({
|
|
191
194
|
alwaysWriteToDisk: true,
|
|
192
195
|
filename: path.resolve(appBuildEngineProjectPublicDir, './index.html'),
|
|
193
196
|
template: path.resolve(appBuildDir, './template.js'),
|
|
@@ -50,7 +50,7 @@ export function generateConfig(config: any): {
|
|
|
50
50
|
Plugins: {
|
|
51
51
|
forkTsChecker: ForkTsCheckerWebpackPlugin;
|
|
52
52
|
webpack: webpack.DefinePlugin;
|
|
53
|
-
html:
|
|
53
|
+
html: HtmlWebpackPlugin;
|
|
54
54
|
harddisk: any;
|
|
55
55
|
analyzer: any;
|
|
56
56
|
css: any;
|
|
@@ -78,3 +78,4 @@ export function generateConfig(config: any): {
|
|
|
78
78
|
};
|
|
79
79
|
import ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPlugin");
|
|
80
80
|
import * as webpack from "webpack";
|
|
81
|
+
import HtmlWebpackPlugin from "html-webpack-plugin";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/smartapps-bigscreen-rnv-build-engine",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.1353+8b8195de",
|
|
4
4
|
"description": "Package with build engine for SmartApps BigScreen projects...",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"keywords": [],
|
|
59
59
|
"author": "24i",
|
|
60
60
|
"license": "ISC",
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "8b8195de7323b24a884687e9aa2654fde44a61ea"
|
|
62
62
|
}
|