@zohodesk/react-cli 1.1.19-exp.2 → 1.1.19-exp.3
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 @@ function configHtmlWebpackPlugins(plugins, {
|
|
40
40
|
crossorigin,
|
41
41
|
hasEFC,
|
42
42
|
minify: minifyHtmlOptions = false,
|
43
|
-
|
43
|
+
scriptLoadingStrategey
|
44
44
|
}) {
|
45
45
|
const optionsHtmlWebpack = {
|
46
46
|
chunksSortMode: 'none',
|
@@ -51,7 +51,7 @@ function configHtmlWebpackPlugins(plugins, {
|
|
51
51
|
// ? minifyHtmlOptions
|
52
52
|
// : minifyHtmlOptions,,
|
53
53
|
templateParameters: _common.templateParameters,
|
54
|
-
scriptLoading: getScriptLoadingStrategy(
|
54
|
+
scriptLoading: getScriptLoadingStrategy(scriptLoadingStrategey),
|
55
55
|
inject: inject
|
56
56
|
};
|
57
57
|
|
@@ -61,7 +61,7 @@ const getDevPlugins = (options, publicPath) => {
|
|
61
61
|
},
|
62
62
|
htmlTemplate: {
|
63
63
|
inject,
|
64
|
-
|
64
|
+
scriptLoadingStrategey
|
65
65
|
},
|
66
66
|
crossorigin
|
67
67
|
},
|
@@ -168,7 +168,7 @@ const getDevPlugins = (options, publicPath) => {
|
|
168
168
|
inject,
|
169
169
|
crossorigin,
|
170
170
|
hasEFC,
|
171
|
-
|
171
|
+
scriptLoadingStrategey
|
172
172
|
});
|
173
173
|
|
174
174
|
if (hasEFC) {
|
@@ -79,7 +79,7 @@ const getProdPlugins = (options, publicPath = '') => {
|
|
79
79
|
const {
|
80
80
|
inject,
|
81
81
|
minify: minifyHtmlOptions,
|
82
|
-
|
82
|
+
scriptLoadingStrategey
|
83
83
|
} = htmlTemplate;
|
84
84
|
const {
|
85
85
|
i18n
|
@@ -177,7 +177,7 @@ const getProdPlugins = (options, publicPath = '') => {
|
|
177
177
|
folder,
|
178
178
|
inject,
|
179
179
|
minify: minifyHtmlOptions,
|
180
|
-
|
180
|
+
scriptLoadingStrategey,
|
181
181
|
crossorigin,
|
182
182
|
hasEFC
|
183
183
|
});
|
package/lib/schemas/index.js
CHANGED
package/npm-shrinkwrap.json
CHANGED