@zohodesk/react-cli 0.0.1-exp.166.1 → 0.0.1-exp.167.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/README.md +39 -0
  2. package/bin/cli.js +6 -1
  3. package/cert/Tsicsezwild-22-23.crt +37 -0
  4. package/cert/Tsicsezwild-22-23.key +27 -0
  5. package/docs/DevStart.md +18 -0
  6. package/eslint/React_CDN.zip +0 -0
  7. package/eslint/a.sh +14 -0
  8. package/eslint/testa/build.sh +7 -0
  9. package/eslint/testa/build1/index.html +12 -0
  10. package/eslint/testa/build1/js/2_.js +15 -0
  11. package/eslint/testa/build1/js/2_.js.map +1 -0
  12. package/eslint/testa/build1/js/main_.js +40 -0
  13. package/eslint/testa/build1/js/main_.js.map +1 -0
  14. package/eslint/testa/build1/js/runtime~main_.js +251 -0
  15. package/eslint/testa/build1/js/runtime~main_.js.map +1 -0
  16. package/eslint/testa/build2/index.html +12 -0
  17. package/eslint/testa/build2/js/2_.js +15 -0
  18. package/eslint/testa/build2/js/2_.js.map +1 -0
  19. package/eslint/testa/build2/js/3_.js +15 -0
  20. package/eslint/testa/build2/js/3_.js.map +1 -0
  21. package/eslint/testa/build2/js/main_.js +46 -0
  22. package/eslint/testa/build2/js/main_.js.map +1 -0
  23. package/eslint/testa/build2/js/runtime~main_.js +251 -0
  24. package/eslint/testa/build2/js/runtime~main_.js.map +1 -0
  25. package/eslint/testa/build3/index.710b00fba04c6c594ad3.html +12 -0
  26. package/eslint/testa/build3/js/2.321b867f0966f9c9cdfd_.js +1 -0
  27. package/eslint/testa/build3/js/main.eb2aec4c9f1c16a385e0_.js +1 -0
  28. package/eslint/testa/build3/js/runtime~main.fafbbe7484e9c126f4f7_.js +1 -0
  29. package/eslint/testa/build3/manifest.json +1 -0
  30. package/eslint/testa/build4/index.9ff03a2ccdc9b904f1fe.html +12 -0
  31. package/eslint/testa/build4/js/2.8b63ce57af6dd2bac274_.js +1 -0
  32. package/eslint/testa/build4/js/3.5208acbe37a44362090e_.js +1 -0
  33. package/eslint/testa/build4/js/main.a934d6c2e2329d97269e_.js +1 -0
  34. package/eslint/testa/build4/js/runtime~main.5b85dd9ab73069c1455a_.js +1 -0
  35. package/eslint/testa/build4/manifest.json +1 -0
  36. package/eslint/testa/package.json +24 -0
  37. package/eslint/testa/scr/chunk1.js +3 -0
  38. package/eslint/testa/scr/chunk2.js +3 -0
  39. package/eslint/testa/scr/index.html +12 -0
  40. package/eslint/testa/scr/index.js +4 -0
  41. package/eslint/testa/scr/utlis.js +12 -0
  42. package/eslint/testa/src/chunk1.js +3 -0
  43. package/eslint/testa/src/index.html +12 -0
  44. package/eslint/testa/src/index.js +3 -0
  45. package/eslint/testa/src/utlis.js +7 -0
  46. package/lib/configs/webpack.dev.config.js +3 -2
  47. package/lib/configs/webpack.docs.config.js +5 -4
  48. package/lib/configs/webpack.prod.config.js +4 -3
  49. package/lib/schemas/index.js +10 -0
  50. package/lib/servers/{devBulid.js → devBuild.js} +7 -3
  51. package/lib/servers/httpsOptions.js +2 -3
  52. package/lib/servers/nowatchserver.js +2 -2
  53. package/lib/servers/server.js +11 -3
  54. package/lib/utils/repoClone.js +5 -2
  55. package/lib/utils/rtl.js +19 -2
  56. package/lib/utils/useExitCleanup.js +55 -0
  57. package/package.json +2 -1
  58. package/postpublish.js +6 -0
  59. package/templates/docs/css/style.css +1 -1
  60. package/templates/docs/index.html +9 -1
  61. package/DOTO.md +0 -13
@@ -0,0 +1,251 @@
1
+ /******/ (function(modules) { // webpackBootstrap
2
+ /******/ // install a JSONP callback for chunk loading
3
+ /******/ function webpackJsonpCallback(data) {
4
+ /******/ var chunkIds = data[0];
5
+ /******/ var moreModules = data[1];
6
+ /******/ var executeModules = data[2];
7
+ /******/
8
+ /******/ // add "moreModules" to the modules object,
9
+ /******/ // then flag all "chunkIds" as loaded and fire callback
10
+ /******/ var moduleId, chunkId, i = 0, resolves = [];
11
+ /******/ for(;i < chunkIds.length; i++) {
12
+ /******/ chunkId = chunkIds[i];
13
+ /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
14
+ /******/ resolves.push(installedChunks[chunkId][0]);
15
+ /******/ }
16
+ /******/ installedChunks[chunkId] = 0;
17
+ /******/ }
18
+ /******/ for(moduleId in moreModules) {
19
+ /******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
20
+ /******/ modules[moduleId] = moreModules[moduleId];
21
+ /******/ }
22
+ /******/ }
23
+ /******/ if(parentJsonpFunction) parentJsonpFunction(data);
24
+ /******/
25
+ /******/ while(resolves.length) {
26
+ /******/ resolves.shift()();
27
+ /******/ }
28
+ /******/
29
+ /******/ // add entry modules from loaded chunk to deferred list
30
+ /******/ deferredModules.push.apply(deferredModules, executeModules || []);
31
+ /******/
32
+ /******/ // run deferred modules when all chunks ready
33
+ /******/ return checkDeferredModules();
34
+ /******/ };
35
+ /******/ function checkDeferredModules() {
36
+ /******/ var result;
37
+ /******/ for(var i = 0; i < deferredModules.length; i++) {
38
+ /******/ var deferredModule = deferredModules[i];
39
+ /******/ var fulfilled = true;
40
+ /******/ for(var j = 1; j < deferredModule.length; j++) {
41
+ /******/ var depId = deferredModule[j];
42
+ /******/ if(installedChunks[depId] !== 0) fulfilled = false;
43
+ /******/ }
44
+ /******/ if(fulfilled) {
45
+ /******/ deferredModules.splice(i--, 1);
46
+ /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
47
+ /******/ }
48
+ /******/ }
49
+ /******/
50
+ /******/ return result;
51
+ /******/ }
52
+ /******/
53
+ /******/ // The module cache
54
+ /******/ var installedModules = {};
55
+ /******/
56
+ /******/ // object to store loaded and loading chunks
57
+ /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
58
+ /******/ // Promise = chunk loading, 0 = chunk loaded
59
+ /******/ var installedChunks = {
60
+ /******/ 0: 0
61
+ /******/ };
62
+ /******/
63
+ /******/ var deferredModules = [];
64
+ /******/
65
+ /******/ // script path function
66
+ /******/ function jsonpScriptSrc(chunkId) {
67
+ /******/ return __webpack_require__.p + "js/" + ({}[chunkId]||chunkId) + "_.js"
68
+ /******/ }
69
+ /******/
70
+ /******/ // The require function
71
+ /******/ function __webpack_require__(moduleId) {
72
+ /******/
73
+ /******/ // Check if module is in cache
74
+ /******/ if(installedModules[moduleId]) {
75
+ /******/ return installedModules[moduleId].exports;
76
+ /******/ }
77
+ /******/ // Create a new module (and put it into the cache)
78
+ /******/ var module = installedModules[moduleId] = {
79
+ /******/ i: moduleId,
80
+ /******/ l: false,
81
+ /******/ exports: {}
82
+ /******/ };
83
+ /******/
84
+ /******/ // Execute the module function
85
+ /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
86
+ /******/
87
+ /******/ // Flag the module as loaded
88
+ /******/ module.l = true;
89
+ /******/
90
+ /******/ // Return the exports of the module
91
+ /******/ return module.exports;
92
+ /******/ }
93
+ /******/
94
+ /******/ // This file contains only the entry chunk.
95
+ /******/ // The chunk loading function for additional chunks
96
+ /******/ __webpack_require__.e = function requireEnsure(chunkId) {
97
+ /******/ var promises = [];
98
+ /******/
99
+ /******/
100
+ /******/ // JSONP chunk loading for javascript
101
+ /******/
102
+ /******/ var installedChunkData = installedChunks[chunkId];
103
+ /******/ if(installedChunkData !== 0) { // 0 means "already installed".
104
+ /******/
105
+ /******/ // a Promise means "currently loading".
106
+ /******/ if(installedChunkData) {
107
+ /******/ promises.push(installedChunkData[2]);
108
+ /******/ } else {
109
+ /******/ // setup Promise in chunk cache
110
+ /******/ var promise = new Promise(function(resolve, reject) {
111
+ /******/ installedChunkData = installedChunks[chunkId] = [resolve, reject];
112
+ /******/ });
113
+ /******/ promises.push(installedChunkData[2] = promise);
114
+ /******/
115
+ /******/ // start chunk loading
116
+ /******/ var script = document.createElement('script');
117
+ /******/ var onScriptComplete;
118
+ /******/
119
+ /******/ script.charset = 'utf-8';
120
+ /******/ script.timeout = 120;
121
+ /******/ if (__webpack_require__.nc) {
122
+ /******/ script.setAttribute("nonce", __webpack_require__.nc);
123
+ /******/ }
124
+ /******/ script.src = jsonpScriptSrc(chunkId);
125
+ /******/
126
+ /******/ // create error before stack unwound to get useful stacktrace later
127
+ /******/ var error = new Error();
128
+ /******/ onScriptComplete = function (event) {
129
+ /******/ // avoid mem leaks in IE.
130
+ /******/ script.onerror = script.onload = null;
131
+ /******/ clearTimeout(timeout);
132
+ /******/ var chunk = installedChunks[chunkId];
133
+ /******/ if(chunk !== 0) {
134
+ /******/ if(chunk) {
135
+ /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
136
+ /******/ var realSrc = event && event.target && event.target.src;
137
+ /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
138
+ /******/ error.name = 'ChunkLoadError';
139
+ /******/ error.type = errorType;
140
+ /******/ error.request = realSrc;
141
+ /******/ chunk[1](error);
142
+ /******/ }
143
+ /******/ installedChunks[chunkId] = undefined;
144
+ /******/ }
145
+ /******/ };
146
+ /******/ var timeout = setTimeout(function(){
147
+ /******/ onScriptComplete({ type: 'timeout', target: script });
148
+ /******/ }, 120000);
149
+ /******/ script.onerror = script.onload = onScriptComplete;
150
+ /******/ document.head.appendChild(script);
151
+ /******/ }
152
+ /******/ }
153
+ /******/ return Promise.all(promises);
154
+ /******/ };
155
+ /******/
156
+ /******/ // expose the modules object (__webpack_modules__)
157
+ /******/ __webpack_require__.m = modules;
158
+ /******/
159
+ /******/ // expose the module cache
160
+ /******/ __webpack_require__.c = installedModules;
161
+ /******/
162
+ /******/ // define getter function for harmony exports
163
+ /******/ __webpack_require__.d = function(exports, name, getter) {
164
+ /******/ if(!__webpack_require__.o(exports, name)) {
165
+ /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
166
+ /******/ }
167
+ /******/ };
168
+ /******/
169
+ /******/ // define __esModule on exports
170
+ /******/ __webpack_require__.r = function(exports) {
171
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
172
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
173
+ /******/ }
174
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
175
+ /******/ };
176
+ /******/
177
+ /******/ // create a fake namespace object
178
+ /******/ // mode & 1: value is a module id, require it
179
+ /******/ // mode & 2: merge all properties of value into the ns
180
+ /******/ // mode & 4: return value when already ns object
181
+ /******/ // mode & 8|1: behave like require
182
+ /******/ __webpack_require__.t = function(value, mode) {
183
+ /******/ if(mode & 1) value = __webpack_require__(value);
184
+ /******/ if(mode & 8) return value;
185
+ /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
186
+ /******/ var ns = Object.create(null);
187
+ /******/ __webpack_require__.r(ns);
188
+ /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
189
+ /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
190
+ /******/ return ns;
191
+ /******/ };
192
+ /******/
193
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
194
+ /******/ __webpack_require__.n = function(module) {
195
+ /******/ var getter = module && module.__esModule ?
196
+ /******/ function getDefault() { return module['default']; } :
197
+ /******/ function getModuleExports() { return module; };
198
+ /******/ __webpack_require__.d(getter, 'a', getter);
199
+ /******/ return getter;
200
+ /******/ };
201
+ /******/
202
+ /******/ // Object.prototype.hasOwnProperty.call
203
+ /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
204
+ /******/
205
+ /******/ // __webpack_public_path__
206
+ /******/ __webpack_require__.p = "https://kumar-zt375.tsi.zohocorpin.com:9090/app/";
207
+ /******/
208
+ /******/ __webpack_require__.getChunkId = function getChunkId(chunkId) {
209
+ /******/ return chunkId;
210
+ /******/ }
211
+ /******/ // Prefetch a chunk (prefetch-preload-chunk-plugin)
212
+ /******/ __webpack_require__.pfc = function prefetchChunk(chunkId) {
213
+ /******/ chunkId = __webpack_require__.getChunkId(chunkId)
214
+ /******/ __webpack_require__.e(chunkId);
215
+ /******/ };
216
+ /******/ // Preload a chunk (prefetch-preload-chunk-plugin)
217
+ /******/ __webpack_require__.plc = function preloadChunk(chunkId) {
218
+ /******/ chunkId = __webpack_require__.getChunkId(chunkId)
219
+ /******/ if(installedChunks[chunkId] === undefined) {
220
+ /******/ installedChunks[chunkId] = null;
221
+ /******/ var link = document.createElement('link');
222
+ /******/
223
+ /******/ link.charset = 'utf-8';
224
+ /******/ if (__webpack_require__.nc) {
225
+ /******/ link.setAttribute("nonce", __webpack_require__.nc);
226
+ /******/ }
227
+ /******/ link.rel = "preload";
228
+ /******/ link.as = "script";
229
+ /******/ link.href = jsonpScriptSrc(chunkId);
230
+ /******/ document.head.appendChild(link);
231
+ /******/ __webpack_require__.e(chunkId);
232
+ /******/ }
233
+ /******/ };
234
+ /******/
235
+ /******/ // on error function for async loading
236
+ /******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };
237
+ /******/
238
+ /******/ var jsonpArray = window["appJsonp"] = window["appJsonp"] || [];
239
+ /******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
240
+ /******/ jsonpArray.push = webpackJsonpCallback;
241
+ /******/ jsonpArray = jsonpArray.slice();
242
+ /******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
243
+ /******/ var parentJsonpFunction = oldJsonpFunction;
244
+ /******/
245
+ /******/
246
+ /******/ // run deferred modules from other chunks
247
+ /******/ checkDeferredModules();
248
+ /******/ })
249
+ /************************************************************************/
250
+ /******/ ([]);
251
+ //# sourceMappingURL=runtime~main_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/./runtime~main_.js","sources":["webpack:///webpack/bootstrap"],"sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \"_.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"https://kumar-zt375.tsi.zohocorpin.com:9090/app/\";\n\n \t__webpack_require__.getChunkId = function getChunkId(chunkId) {\n \t\treturn chunkId;\n \t}\n \t// Prefetch a chunk (prefetch-preload-chunk-plugin)\n \t__webpack_require__.pfc = function prefetchChunk(chunkId) {\n \t\tchunkId = __webpack_require__.getChunkId(chunkId)\n \t\t__webpack_require__.e(chunkId);\n \t};\n \t// Preload a chunk (prefetch-preload-chunk-plugin)\n \t__webpack_require__.plc = function preloadChunk(chunkId) {\n \t\tchunkId = __webpack_require__.getChunkId(chunkId)\n \t\tif(installedChunks[chunkId] === undefined) {\n \t\t\tinstalledChunks[chunkId] = null;\n \t\t\tvar link = document.createElement('link');\n\n \t\t\tlink.charset = 'utf-8';\n \t\t\tif (__webpack_require__.nc) {\n \t\t\t\tlink.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t}\n \t\t\tlink.rel = \"preload\";\n \t\t\tlink.as = \"script\";\n \t\t\tlink.href = jsonpScriptSrc(chunkId);\n \t\t\tdocument.head.appendChild(link);\n \t\t\t__webpack_require__.e(chunkId);\n \t\t}\n \t};\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"appJsonp\"] = window[\"appJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;A","sourceRoot":""}
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ </head>
9
+ <body>
10
+ <div>Hello world</div>
11
+ <script defer src="js/./runtime~main.fafbbe7484e9c126f4f7_.js" nonce="{{--CSP-nonce}}"></script><script defer src="js/main.eb2aec4c9f1c16a385e0_.js" nonce="{{--CSP-nonce}}"></script></body>
12
+ </html>
@@ -0,0 +1 @@
1
+ (window.appJsonp=window.appJsonp||[]).push([[2],{"./src/chunk1.js":function(s,e,r){"use strict";r.r(e);var c=r("./src/utlis.js");Object(c.justVeryBigVeryVeryVeryBigNamesay)("welcome to chunk1")}}]);
@@ -0,0 +1 @@
1
+ (window.appJsonp=window.appJsonp||[]).push([[1],{"./src/index.js":function(e,n,s){"use strict";s.r(n);var r=s("./src/utlis.js");s.e(2).then(s.t.bind(null,"./src/chunk1.js",7)),Object(r.justVeryVeryVeryVeryBigNamesayHello)()},"./src/utlis.js":function(e,n,s){"use strict";function r(){console.log("hello")}function o(e){console.log("hello"),console.log("text",e)}s.d(n,"justVeryVeryVeryVeryBigNamesayHello",(function(){return r})),s.d(n,"justVeryBigVeryVeryVeryBigNamesay",(function(){return o}))},0:function(e,n,s){e.exports=s("./src/index.js")}},[[0,0]]]);
@@ -0,0 +1 @@
1
+ !function(e){function t(t){for(var n,i,a=t[0],c=t[1],l=t[2],f=0,s=[];f<a.length;f++)i=a[f],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&s.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(p&&p(t);s.length;)s.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,i=1;i<r.length;i++){var c=r[i];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=a(a.s=r[0]))}return e}var n={},o={0:0},u=[];function i(e){return a.p+"js/"+({}[e]||e)+"."+{2:"321b867f0966f9c9cdfd"}[e]+"_.js"}function a(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,a),r.l=!0,r.exports}a.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=i(e);var l=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(f);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",l.name="ChunkLoadError",l.type=n,l.request=u,r[1](l)}o[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},a.m=e,a.c=n,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a.getChunkId=function(e){return e},a.pfc=function(e){e=a.getChunkId(e),a.e(e)},a.plc=function(e){if(e=a.getChunkId(e),void 0===o[e]){o[e]=null;var t=document.createElement("link");t.charset="utf-8",a.nc&&t.setAttribute("nonce",a.nc),t.rel="preload",t.as="script",t.href=i(e),document.head.appendChild(t),a.e(e)}},a.oe=function(e){throw console.error(e),e};var c=window.appJsonp=window.appJsonp||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var p=l;r()}([]);
@@ -0,0 +1 @@
1
+ {"entryFiles":{"runtime~main.js":"runtime~main.fafbbe7484e9c126f4f7_.js","main.js":"main.eb2aec4c9f1c16a385e0_.js"},"runtime~main.js":"runtime~main.fafbbe7484e9c126f4f7_.js","main.js":"main.eb2aec4c9f1c16a385e0_.js","2.js":"2.321b867f0966f9c9cdfd_.js","index.html":"index.710b00fba04c6c594ad3.html"}
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ </head>
9
+ <body>
10
+
11
+ <script defer src="js/./runtime~main.5b85dd9ab73069c1455a_.js" nonce="{{--CSP-nonce}}"></script><script defer src="js/main.a934d6c2e2329d97269e_.js" nonce="{{--CSP-nonce}}"></script></body>
12
+ </html>
@@ -0,0 +1 @@
1
+ (window.appJsonp=window.appJsonp||[]).push([[2],{"./src/chunk1.js":function(s,e,r){"use strict";r.r(e);var c=r("./src/utlis.js");Object(c.justVeryBigVeryVeryVeryBigNamesay)("welcome to chunk1")}}]);
@@ -0,0 +1 @@
1
+ (window.appJsonp=window.appJsonp||[]).push([[3],{"./src/chunk2.js":function(s,n,c){"use strict";c.r(n);var p=c("./src/utlis.js");Object(p.b)("to chunk2")}}]);
@@ -0,0 +1 @@
1
+ (window.appJsonp=window.appJsonp||[]).push([[1],{"./src/index.js":function(e,n,o){"use strict";o.r(n);var s=o("./src/utlis.js");o.e(2).then(o.t.bind(null,"./src/chunk1.js",7)),o.e(3).then(o.t.bind(null,"./src/chunk2.js",7)),Object(s.justVeryVeryVeryVeryBigNamesayHello)()},"./src/utlis.js":function(e,n,o){"use strict";function s(e){console.log("welcome everyone"),console.log(e)}function r(){console.log("hello")}function t(e){console.log("hello"),console.log("text",e)}o.d(n,"b",(function(){return s})),o.d(n,"justVeryVeryVeryVeryBigNamesayHello",(function(){return r})),o.d(n,"justVeryBigVeryVeryVeryBigNamesay",(function(){return t}))},0:function(e,n,o){e.exports=o("./src/index.js")}},[[0,0]]]);
@@ -0,0 +1 @@
1
+ !function(e){function t(t){for(var n,a,i=t[0],c=t[1],l=t[2],f=0,s=[];f<i.length;f++)a=i[f],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(p&&p(t);s.length;)s.shift()();return u.push.apply(u,l||[]),r()}function r(){for(var e,t=0;t<u.length;t++){for(var r=u[t],n=!0,a=1;a<r.length;a++){var c=r[a];0!==o[c]&&(n=!1)}n&&(u.splice(t--,1),e=i(i.s=r[0]))}return e}var n={},o={0:0},u=[];function a(e){return i.p+"js/"+({}[e]||e)+"."+{2:"8b63ce57af6dd2bac274",3:"5208acbe37a44362090e"}[e]+"_.js"}function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],r=o[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=o[e]=[t,n]}));t.push(r[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=a(e);var l=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(f);var r=o[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",l.name="ChunkLoadError",l.type=n,l.request=u,r[1](l)}o[e]=void 0}};var f=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,r){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(r,n,function(t){return e[t]}.bind(null,n));return r},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.getChunkId=function(e){return e},i.pfc=function(e){e=i.getChunkId(e),i.e(e)},i.plc=function(e){if(e=i.getChunkId(e),void 0===o[e]){o[e]=null;var t=document.createElement("link");t.charset="utf-8",i.nc&&t.setAttribute("nonce",i.nc),t.rel="preload",t.as="script",t.href=a(e),document.head.appendChild(t),i.e(e)}},i.oe=function(e){throw console.error(e),e};var c=window.appJsonp=window.appJsonp||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var f=0;f<c.length;f++)t(c[f]);var p=l;r()}([]);
@@ -0,0 +1 @@
1
+ {"entryFiles":{"runtime~main.js":"runtime~main.5b85dd9ab73069c1455a_.js","main.js":"main.a934d6c2e2329d97269e_.js"},"runtime~main.js":"runtime~main.5b85dd9ab73069c1455a_.js","main.js":"main.a934d6c2e2329d97269e_.js","2.js":"2.8b63ce57af6dd2bac274_.js","3.js":"3.5208acbe37a44362090e_.js","index.html":"index.9ff03a2ccdc9b904f1fe.html"}
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "testa",
3
+ "version": "1.0.0",
4
+ "description": "",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "build": "react-cli build",
8
+ "clean": "rm -r build1 build2",
9
+ "bu": "npm run build --output_folder=build3 --app_folder=src",
10
+ "b1": "npm run build --output_folder=build3 --app_folder=src",
11
+ "b2": "npm run build --output_folder=build4 --app_folder=scr",
12
+ "b": "npm run b1 && npm run b2",
13
+ "test": "echo \"Error: no test specified\" && exit 1"
14
+ },
15
+ "keywords": [],
16
+ "author": "ponkumar.s <nksponkumar@gmail.com>",
17
+ "license": "ISC",
18
+ "react-cli": {
19
+ "app": {
20
+ "enableChunkHash": "true",
21
+ "sourcemap": "cheap-source-map"
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,3 @@
1
+ import { justVeryBigVeryVeryVeryBigNamesay } from "./utlis";
2
+
3
+ justVeryBigVeryVeryVeryBigNamesay("welcome to chunk1");
@@ -0,0 +1,3 @@
1
+ import { b } from "./utlis";
2
+
3
+ b("to chunk2");
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ </head>
9
+ <body>
10
+
11
+ </body>
12
+ </html>
@@ -0,0 +1,4 @@
1
+ import { justVeryVeryVeryVeryBigNamesayHello } from "./utlis";
2
+ import("./chunk1")
3
+ import("./chunk2")
4
+ justVeryVeryVeryVeryBigNamesayHello();
@@ -0,0 +1,12 @@
1
+ export function b(text) {
2
+ console.log("welcome everyone");
3
+ console.log(text);
4
+ }
5
+
6
+ export function justVeryVeryVeryVeryBigNamesayHello() {
7
+ console.log("hello");
8
+ }
9
+ export function justVeryBigVeryVeryVeryBigNamesay(text) {
10
+ console.log("hello");
11
+ console.log("text", text);
12
+ }
@@ -0,0 +1,3 @@
1
+ import { justVeryBigVeryVeryVeryBigNamesay } from "./utlis";
2
+
3
+ justVeryBigVeryVeryVeryBigNamesay("welcome to chunk1");
@@ -0,0 +1,12 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Document</title>
8
+ </head>
9
+ <body>
10
+ <div>Hello world</div>
11
+ </body>
12
+ </html>
@@ -0,0 +1,3 @@
1
+ import { justVeryVeryVeryVeryBigNamesayHello } from "./utlis";
2
+ import("./chunk1")
3
+ justVeryVeryVeryVeryBigNamesayHello();
@@ -0,0 +1,7 @@
1
+ export function justVeryVeryVeryVeryBigNamesayHello() {
2
+ console.log("hello");
3
+ }
4
+ export function justVeryBigVeryVeryVeryBigNamesay(text) {
5
+ console.log("hello");
6
+ console.log("text", text);
7
+ }
@@ -16,6 +16,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
16
16
 
17
17
  let options = (0, _utils.getOptions)();
18
18
  let {
19
+ unstableDepsInverse,
19
20
  app: {
20
21
  folder,
21
22
  context,
@@ -131,10 +132,10 @@ module.exports = {
131
132
  ZC: '$ZC'
132
133
  },
133
134
  resolve: {
134
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
135
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
135
136
  alias: disableES5Transpile ? _libAlias.libAlias : {}
136
137
  },
137
138
  resolveLoader: {
138
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
139
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
139
140
  }
140
141
  };
@@ -14,8 +14,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
14
14
 
15
15
  let options = (0, _utils.getOptions)();
16
16
  let {
17
+ unstableDepsInverse,
17
18
  docs: {
18
19
  componentFolder,
20
+ disableES5Transpile,
19
21
  cssUniqueness,
20
22
  hasRTL,
21
23
  rtlExclude,
@@ -23,8 +25,7 @@ let {
23
25
  classNamePrefix
24
26
  },
25
27
  app: {
26
- folder,
27
- disableES5Transpile
28
+ folder
28
29
  }
29
30
  } = options;
30
31
  let appPath = process.cwd();
@@ -110,10 +111,10 @@ module.exports = isSSTest => ({
110
111
  ZC: '$ZC'
111
112
  },
112
113
  resolve: {
113
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
114
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
114
115
  alias: disableES5Transpile ? _libAlias.libAlias : {}
115
116
  },
116
117
  resolveLoader: {
117
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
118
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
118
119
  }
119
120
  });
@@ -17,6 +17,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
17
17
  // import TerserPlugin from 'terser-webpack-plugin';
18
18
  let options = (0, _utils.getOptions)();
19
19
  let {
20
+ unstableDepsInverse,
20
21
  app: {
21
22
  folder,
22
23
  context,
@@ -80,7 +81,7 @@ module.exports = {
80
81
  concatenateModules: true,
81
82
  minimize: true,
82
83
  // by default if minimize: true in webpack minimize then webpack automaticaly add TerserPlugin,
83
- // So we are overrideing it.
84
+ // So we are overrideing it.
84
85
  // minimizer: [
85
86
  // new TerserPlugin({
86
87
  // cache: true,
@@ -208,10 +209,10 @@ module.exports = {
208
209
  ZC: '$ZC'
209
210
  },
210
211
  resolve: {
211
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
212
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules'],
212
213
  alias: disableES5Transpile ? _libAlias.libAlias : {}
213
214
  },
214
215
  resolveLoader: {
215
- modules: [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
216
+ modules: unstableDepsInverse ? ['node_modules', _path.default.resolve(__dirname, '..', '..', 'node_modules')] : [_path.default.resolve(__dirname, '..', '..', 'node_modules'), 'node_modules']
216
217
  }
217
218
  };
@@ -14,6 +14,11 @@ var _getCurrentBranch = _interopRequireDefault(require("../utils/getCurrentBranc
14
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
15
 
16
16
  var _default = {
17
+ cliRootPath: null,
18
+ unstableDepsInverse: {
19
+ value: false,
20
+ cli: 'unstable_deps_inverse'
21
+ },
17
22
  sslCertURL: {
18
23
  value: null,
19
24
  cli: 'ssl_cert_url'
@@ -257,6 +262,7 @@ var _default = {
257
262
  cli: 'css_unique'
258
263
  },
259
264
  folder: 'src',
265
+ disableES5Transpile: false,
260
266
  hasRTL: false,
261
267
  rtlExclude: [],
262
268
  cssHashSelectors: {
@@ -553,6 +559,10 @@ var _default = {
553
559
  value: null,
554
560
  cli: 'clone_revision'
555
561
  },
562
+ shallowClone: {
563
+ value: false,
564
+ cli: 'shallow_clone'
565
+ },
556
566
  projectName: {
557
567
  value: null,
558
568
  cli: 'clone_proj_name'
@@ -18,6 +18,9 @@ var _getCliPath = require("./getCliPath");
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
19
 
20
20
  const options = (0, _utils.getOptions)(); // const args = process.argv.slice(3);
21
+ // NOTE: need to discuss about in below codes,
22
+ // when we run webpack the usable options that comes for npm run not working as automatical
23
+ // we are use this option always --disable_watch=true reason for now no need for
21
24
 
22
25
  const {
23
26
  app: {
@@ -61,8 +64,9 @@ const startTime = Date.now(); // const result = spawnSync(
61
64
  // ),
62
65
  // { stdio: 'inherit' }
63
66
  // );
67
+ // --disable_watch=true
64
68
 
65
- const result = execSyncDefalut(`${webpack} --config ${require.resolve('../configs/webpack.dev.config.js')}`);
69
+ const result = execSyncDefalut(`${webpack} --config ${require.resolve('../configs/webpack.dev.config.js')} ${process.argv.slice(2).map(o => o.replace(/(.*?)=(.*)/, '$1="$2"')).join(' ')} `);
66
70
  result && console.log(result);
67
71
 
68
72
  if (result && result.stderr) {
@@ -83,8 +87,8 @@ if (zipname) {
83
87
  } else {
84
88
  console.log('zip file created', cssSelectorZipPath);
85
89
  }
86
- } // npm run start --app:domain=tsi --impact:cssbountry="{$@&&@$}" --disable-watch --dev-cache --cssselector_zip=css-source-map.zip
87
- // npm run start --app_domain=tsi --impact_cssbountry="{$@&&@$}" --disable-watch --dev-cache --cssselector_zip=css-source-map.zip
90
+ } // npm run start --app:domain=tsi --impact:cssbountry="{$@&&@$}" --disable-watch --dev-cache --cssselector_zip=css-source-map.zip
91
+ // npm run start --app_domain=tsi --impact_cssbountry="{$@&&@$}" --disable-watch --dev-cache --cssselector_zip=css-source-map.zip
88
92
 
89
93
 
90
94
  console.log(`compailation done in ${Date.now() - startTime}ms`);
@@ -12,8 +12,7 @@ var _path = _interopRequireDefault(require("path"));
12
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
13
 
14
14
  const httpsOptions = {
15
- key: _fs.default.readFileSync(_path.default.join(__dirname, '../../cert/key.pem')),
16
- cert: _fs.default.readFileSync(_path.default.join(__dirname, '../../cert/cert.pem')),
17
- passphrase: _fs.default.readFileSync(_path.default.join(__dirname, '../../cert/passphrase.pem')).toString()
15
+ key: _fs.default.readFileSync(_path.default.join(__dirname, '../../cert/Tsicsezwild-22-23.key')),
16
+ cert: _fs.default.readFileSync(_path.default.join(__dirname, '../../cert/Tsicsezwild-22-23.crt'))
18
17
  };
19
18
  exports.httpsOptions = httpsOptions;
@@ -14,7 +14,7 @@ var _utils = require("../utils");
14
14
 
15
15
  var _httpsOptions = require("./httpsOptions");
16
16
 
17
- var _devBulid = require("./devBulid");
17
+ var _devBuild = require("./devBuild");
18
18
 
19
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
20
 
@@ -42,7 +42,7 @@ const {
42
42
  zipname,
43
43
  cssSelectorZipPath,
44
44
  outputFolderLocation
45
- } = (0, _devBulid.getPaths)();
45
+ } = (0, _devBuild.getPaths)();
46
46
  const app = (0, _express.default)();
47
47
 
48
48
  if (hasMock) {