@zohodesk/react-cli 1.1.23-exp.1 → 1.1.23-exp.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- })); // configHtmlWebpackPlugins(pluginsArr, {
166
- // enableChunkHash: false,
167
- // folder,
168
- // minify: false,
169
- // inject,
170
- // crossorigin,
171
- // hasEFC,
172
- // customScriptLoadingStrategey,
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({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "1.1.23-exp.1",
3
+ "version": "1.1.23-exp.4",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",