@zohodesk/react-cli 1.1.23-exp.1 → 1.1.23-exp.4
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.
@@ -137,7 +137,6 @@ function pitch(request) {
|
|
137
137
|
workerUrl: __webpack_public_path__ + ${JSON.stringify(entry)}, \n
|
138
138
|
getInstance: ${workerCode} \n
|
139
139
|
};\n
|
140
|
-
workerObj.getInstance();
|
141
140
|
${options.esModule ? 'export default' : 'module.exports ='} workerObj;
|
142
141
|
`); // return cb(
|
143
142
|
// null,
|
@@ -162,15 +162,16 @@ const getDevPlugins = (options, publicPath) => {
|
|
162
162
|
pluginsArr.push(new _lodashWebpackPlugin.default({
|
163
163
|
collections: true,
|
164
164
|
shorthands: true
|
165
|
-
}));
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
165
|
+
}));
|
166
|
+
(0, _configHtmlWebpackPlugins.configHtmlWebpackPlugins)(pluginsArr, {
|
167
|
+
enableChunkHash: false,
|
168
|
+
folder,
|
169
|
+
minify: false,
|
170
|
+
inject,
|
171
|
+
crossorigin,
|
172
|
+
hasEFC,
|
173
|
+
customScriptLoadingStrategey
|
174
|
+
});
|
174
175
|
|
175
176
|
if (hasEFC) {
|
176
177
|
pluginsArr.push(new _plugins.EFCPlugin({
|