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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/.eslintrc.js +1 -0
  2. package/.prettierrc +6 -0
  3. package/README.md +98 -3
  4. package/bin/cli.js +10 -20
  5. package/docs/HoverActive.md +12 -0
  6. package/docs/InstallNode.md +28 -0
  7. package/docs/VariableConversion.md +678 -0
  8. package/lib/common/splitChunks.js +133 -7
  9. package/lib/configs/jest.config.js +8 -12
  10. package/lib/configs/libAlias.js +10 -3
  11. package/lib/configs/webpack.dev.config.js +21 -26
  12. package/lib/configs/webpack.docs.config.js +13 -19
  13. package/lib/configs/webpack.impact.config.js +13 -19
  14. package/lib/configs/webpack.prod.config.js +19 -15
  15. package/lib/jest/preProcessors/cssPreprocessor.js +16 -7
  16. package/lib/loaderUtils/configsAssetsLoaders.js +117 -0
  17. package/lib/loaderUtils/getCSSLoaders.js +51 -7
  18. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +63 -54
  19. package/lib/postcss-plugins/{ExcludeRTLPlugin.js → ExcludePlugin.js} +1 -1
  20. package/lib/postcss-plugins/__test__/hoverActivePlugin.spec.js +22 -0
  21. package/lib/postcss-plugins/__test__/test1Input.css +39 -0
  22. package/lib/postcss-plugins/__test__/test1Output.css +39 -0
  23. package/lib/postcss-plugins/hoverActivePlugin.js +385 -0
  24. package/lib/postcss-plugins/variableModificationPlugin/ErrorHandler.js +37 -0
  25. package/lib/postcss-plugins/variableModificationPlugin/index.js +247 -0
  26. package/lib/postcss-plugins/variableModifier.js +244 -0
  27. package/lib/schemas/index.js +57 -6
  28. package/lib/servers/getCliPath.js +7 -3
  29. package/lib/utils/getOptions.js +29 -1
  30. package/package.json +4 -3
  31. package/cert/cert.pem +0 -37
  32. package/cert/key.pem +0 -27
  33. package/cert/passphrase.pem +0 -1
  34. package/eslint/NOTES.md +0 -3
  35. package/eslint/React_CDN.zip +0 -0
  36. package/eslint/a.sh +0 -14
  37. package/eslint/a23.c +0 -16
  38. package/eslint/a28.c +0 -25
  39. package/eslint/a29.c +0 -25
  40. package/eslint/a30.c +0 -29
  41. package/eslint/a31.c +0 -23
  42. package/eslint/a35.c +0 -23
  43. package/eslint/a36.c +0 -18
  44. package/eslint/a37.c +0 -25
  45. package/eslint/a38.c +0 -28
  46. package/eslint/a39.c +0 -17
  47. package/eslint/a40.c +0 -32
  48. package/eslint/mockapi.html +0 -18
  49. package/eslint/mockapi.md +0 -5
  50. package/eslint/testa/build.sh +0 -7
  51. package/eslint/testa/build1/index.html +0 -12
  52. package/eslint/testa/build1/js/2_.js +0 -15
  53. package/eslint/testa/build1/js/2_.js.map +0 -1
  54. package/eslint/testa/build1/js/main_.js +0 -40
  55. package/eslint/testa/build1/js/main_.js.map +0 -1
  56. package/eslint/testa/build1/js/runtime~main_.js +0 -251
  57. package/eslint/testa/build1/js/runtime~main_.js.map +0 -1
  58. package/eslint/testa/build2/index.html +0 -12
  59. package/eslint/testa/build2/js/2_.js +0 -15
  60. package/eslint/testa/build2/js/2_.js.map +0 -1
  61. package/eslint/testa/build2/js/3_.js +0 -15
  62. package/eslint/testa/build2/js/3_.js.map +0 -1
  63. package/eslint/testa/build2/js/main_.js +0 -46
  64. package/eslint/testa/build2/js/main_.js.map +0 -1
  65. package/eslint/testa/build2/js/runtime~main_.js +0 -251
  66. package/eslint/testa/build2/js/runtime~main_.js.map +0 -1
  67. package/eslint/testa/build3/index.710b00fba04c6c594ad3.html +0 -12
  68. package/eslint/testa/build3/js/2.321b867f0966f9c9cdfd_.js +0 -1
  69. package/eslint/testa/build3/js/main.eb2aec4c9f1c16a385e0_.js +0 -1
  70. package/eslint/testa/build3/js/runtime~main.fafbbe7484e9c126f4f7_.js +0 -1
  71. package/eslint/testa/build3/manifest.json +0 -1
  72. package/eslint/testa/build4/index.9ff03a2ccdc9b904f1fe.html +0 -12
  73. package/eslint/testa/build4/js/2.8b63ce57af6dd2bac274_.js +0 -1
  74. package/eslint/testa/build4/js/3.5208acbe37a44362090e_.js +0 -1
  75. package/eslint/testa/build4/js/main.a934d6c2e2329d97269e_.js +0 -1
  76. package/eslint/testa/build4/js/runtime~main.5b85dd9ab73069c1455a_.js +0 -1
  77. package/eslint/testa/build4/manifest.json +0 -1
  78. package/eslint/testa/package.json +0 -24
  79. package/eslint/testa/scr/chunk1.js +0 -3
  80. package/eslint/testa/scr/chunk2.js +0 -3
  81. package/eslint/testa/scr/index.html +0 -12
  82. package/eslint/testa/scr/index.js +0 -4
  83. package/eslint/testa/scr/utlis.js +0 -12
  84. package/eslint/testa/src/chunk1.js +0 -3
  85. package/eslint/testa/src/index.html +0 -12
  86. package/eslint/testa/src/index.js +0 -3
  87. package/eslint/testa/src/utlis.js +0 -7
package/eslint/a35.c DELETED
@@ -1,23 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 34
4
- int compute(int a, int b)
5
- {
6
- if (b == 1)
7
- {
8
- return a;
9
- }
10
- else
11
- {
12
- return a + compute(a, --b);
13
- }
14
- }
15
-
16
- int main()
17
- {
18
- // Write C code here
19
- int a = 37, b = 26, result = 0;
20
- result = compute(a, b);
21
- printf("%d\n", result);
22
- return 0;
23
- }
package/eslint/a36.c DELETED
@@ -1,18 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 36
4
- int main()
5
- {
6
- // Write C code here
7
- char a[] = {'o', 'm', 'p', 'n', 'j', 'o'};
8
- for (int i = 1; i <= 6; i++)
9
- {
10
- a[i - 1] = a[i - 1] + i;
11
- }
12
- for (int i = 0; i < 6; i++)
13
- {
14
- printf("%c\n", a[i]);
15
- }
16
- // printf("%d\n", result);
17
- return 0;
18
- }
package/eslint/a37.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 37
4
- int main()
5
- {
6
- // Write C code here
7
- char name[] = {'o', 'h', 'o', 'z', 'p', 'r', 'o', 'c'};
8
- for (int i = 0, j = 7; i <= 7; i++, j--)
9
- {
10
- if (name[i] < name[j])
11
- {
12
- name[i] = name[j];
13
- }
14
- else
15
- {
16
- name[i] = name[i];
17
- }
18
- }
19
- for (int i = 0; i <= 7; i++)
20
- {
21
- printf("%c", name[i]);
22
- }
23
- // printf("%d\n", result);
24
- return 0;
25
- }
package/eslint/a38.c DELETED
@@ -1,28 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 38
4
- int main()
5
- {
6
- // Write C code here
7
- int a = 7798, d = 1, temp, result = 1;
8
- temp = a;
9
- while (d)
10
- {
11
- d = temp % 10;
12
- temp = temp / 10;
13
- d %= 4;
14
- switch (d)
15
- {
16
- case 0:
17
- result += (a / 100) + (a % 100);
18
- case 1:
19
- result += (a / 100) + (a % 100);
20
- case 2:
21
- result += (a / 100) + (a % 100);
22
- case 3:
23
- result += (a / 100) + (a % 100);
24
- };
25
- }
26
- printf("%d\n", result);
27
- return 0;
28
- }
package/eslint/a39.c DELETED
@@ -1,17 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 39
4
- int main()
5
- {
6
- // Write C code here
7
- int a = 20, b = 15, c = 0;
8
-
9
- while (b > 0)
10
- {
11
- a = c + a - b;
12
- b = a + 1;
13
- c = b - 1;
14
- }
15
- printf("%d\n", a);
16
- return 0;
17
- }
package/eslint/a40.c DELETED
@@ -1,32 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 40
4
- int main()
5
- {
6
- // Write C code here
7
- char a[5] = {'i', 'j', 'k', 'l', 'm'};
8
- int i;
9
- for (i = 0; i < 5; i++)
10
- {
11
- // printf("%d\n", a[i]);
12
- switch (i % 2)
13
- {
14
- case 0:
15
- a[i] = a[i] + 2;
16
- break;
17
- case 1:
18
- a[i] = a[i] + 3;
19
- break;
20
- default:
21
- a[i] = a[i] + 3;
22
- }
23
- }
24
-
25
- for (i = 0; i < 5; i++)
26
- {
27
- printf("%c", a[i]);
28
- }
29
- // printf("\nHello world");
30
-
31
- return 0;
32
- }
@@ -1,18 +0,0 @@
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
- <title>mock api</title>
7
- </head>
8
- <body>
9
- <h1>We are going to see how to use mock api</h1>
10
- <ul>
11
- <li>
12
- Step 1:-
13
- you need to start the app with "react-cli"."app"."server"."hasMock" as "true" in package.json
14
- <code>npm run start --app-port=9090</code>
15
- </li>
16
- </ul>
17
- </body>
18
- </html>
package/eslint/mockapi.md DELETED
@@ -1,5 +0,0 @@
1
- # We are going to see how to use `Mock api`
2
-
3
- - Step 1:-
4
- you need to start the app with **"react-cli"."app"."server"."hasMock"** as `true` and **"react-cli"."app"."server"."hasMock"** as `true` in package.json <code>npm run start --app-port=9090</code>
5
- - Step 2:- you need to start the app with **"react-cli"."app"."server"."hasMock"** as `true` in package.json <code>npm run start --app-port=9090</code>
@@ -1,7 +0,0 @@
1
- rm -r build3 build4
2
- npm run build --output_folder=build3 --app_mode=bundle
3
- mv src src1
4
- mv scr src
5
- npm run build --output_folder=build4 --app_mode=bundle
6
- mv src scr
7
- mv src1 src
@@ -1,12 +0,0 @@
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="https://kumar-zt375.tsi.zohocorpin.com:9090/app/js/./runtime~main_.js" nonce="{{--CSP-nonce}}"></script><script defer src="https://kumar-zt375.tsi.zohocorpin.com:9090/app/js/main_.js" nonce="{{--CSP-nonce}}"></script></body>
12
- </html>
@@ -1,15 +0,0 @@
1
- (window["appJsonp"] = window["appJsonp"] || []).push([[2],{
2
-
3
- /***/ "./src/chunk1.js":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony import */ var _utlis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./src/utlis.js");
9
-
10
- Object(_utlis__WEBPACK_IMPORTED_MODULE_0__[/* justVeryBigVeryVeryVeryBigNamesay */ "a"])("welcome to chunk1");
11
-
12
- /***/ })
13
-
14
- }]);
15
- //# sourceMappingURL=2_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/2_.js","sources":["webpack:///./src/chunk1.js"],"sourcesContent":["import { justVeryBigVeryVeryVeryBigNamesay } from \"./utlis\";\n\njustVeryBigVeryVeryVeryBigNamesay(\"welcome to chunk1\");\n"],"mappings":";;;;;;AAAA;AAAA;AAAA;AAEA;;;;A","sourceRoot":""}
@@ -1,40 +0,0 @@
1
- (window["appJsonp"] = window["appJsonp"] || []).push([[1],{
2
-
3
- /***/ "./src/index.js":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony import */ var _utlis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./src/utlis.js");
9
-
10
- __webpack_require__.e(/* import() */ 2).then(__webpack_require__.bind(null, "./src/chunk1.js"));
11
- Object(_utlis__WEBPACK_IMPORTED_MODULE_0__[/* justVeryVeryVeryVeryBigNamesayHello */ "b"])();
12
-
13
- /***/ }),
14
-
15
- /***/ "./src/utlis.js":
16
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
17
-
18
- "use strict";
19
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return justVeryVeryVeryVeryBigNamesayHello; });
20
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return justVeryBigVeryVeryVeryBigNamesay; });
21
- function justVeryVeryVeryVeryBigNamesayHello() {
22
- console.log("hello");
23
- }
24
- function justVeryBigVeryVeryVeryBigNamesay(text) {
25
- console.log("hello");
26
- console.log("text", text);
27
- }
28
-
29
- /***/ }),
30
-
31
- /***/ 0:
32
- /***/ (function(module, exports, __webpack_require__) {
33
-
34
- module.exports = __webpack_require__("./src/index.js");
35
-
36
-
37
- /***/ })
38
-
39
- },[[0,0]]]);
40
- //# sourceMappingURL=main_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/main_.js","sources":["webpack:///./src/index.js","webpack:///./src/utlis.js"],"sourcesContent":["import { justVeryVeryVeryVeryBigNamesayHello } from \"./utlis\";\nimport(\"./chunk1\")\njustVeryVeryVeryVeryBigNamesayHello();","export function justVeryVeryVeryVeryBigNamesayHello() {\n console.log(\"hello\");\n}\nexport function justVeryBigVeryVeryVeryBigNamesay(text) {\n console.log(\"hello\");\n console.log(\"text\", text);\n}\n"],"mappings":";;;;;;AAAA;AAAA;AAAA;AACA;AACA;;;;;;;;ACFA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;A","sourceRoot":""}
@@ -1,251 +0,0 @@
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
@@ -1 +0,0 @@
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":""}
@@ -1,12 +0,0 @@
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="https://kumar-zt375.tsi.zohocorpin.com:9090/app/js/./runtime~main_.js" nonce="{{--CSP-nonce}}"></script><script defer src="https://kumar-zt375.tsi.zohocorpin.com:9090/app/js/main_.js" nonce="{{--CSP-nonce}}"></script></body>
12
- </html>
@@ -1,15 +0,0 @@
1
- (window["appJsonp"] = window["appJsonp"] || []).push([[2],{
2
-
3
- /***/ "./scr/chunk1.js":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony import */ var _utlis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./scr/utlis.js");
9
-
10
- Object(_utlis__WEBPACK_IMPORTED_MODULE_0__[/* justVeryBigVeryVeryVeryBigNamesay */ "b"])("welcome to chunk1");
11
-
12
- /***/ })
13
-
14
- }]);
15
- //# sourceMappingURL=2_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/2_.js","sources":["webpack:///./scr/chunk1.js"],"sourcesContent":["import { justVeryBigVeryVeryVeryBigNamesay } from\"./utlis\";\n\n\n\njustVeryBigVeryVeryVeryBigNamesay(\"welcome to chunk1\");"],"mappings":";;;;;;AAAA;AAAA;AAAA;AAIA;;;;A","sourceRoot":""}
@@ -1,15 +0,0 @@
1
- (window["appJsonp"] = window["appJsonp"] || []).push([[3],{
2
-
3
- /***/ "./scr/chunk2.js":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony import */ var _utlis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./scr/utlis.js");
9
-
10
- Object(_utlis__WEBPACK_IMPORTED_MODULE_0__[/* b */ "a"])("to chunk2");
11
-
12
- /***/ })
13
-
14
- }]);
15
- //# sourceMappingURL=3_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/3_.js","sources":["webpack:///./scr/chunk2.js"],"sourcesContent":["import { b } from \"./utlis\";\n\nb(\"to chunk2\");\n"],"mappings":";;;;;;AAAA;AAAA;AAAA;AAEA;;;;A","sourceRoot":""}
@@ -1,46 +0,0 @@
1
- (window["appJsonp"] = window["appJsonp"] || []).push([[1],{
2
-
3
- /***/ "./scr/index.js":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- __webpack_require__.r(__webpack_exports__);
8
- /* harmony import */ var _utlis__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("./scr/utlis.js");
9
-
10
- __webpack_require__.e(/* import() */ 2).then(__webpack_require__.bind(null, "./scr/chunk1.js"));
11
- __webpack_require__.e(/* import() */ 3).then(__webpack_require__.bind(null, "./scr/chunk2.js"));
12
- Object(_utlis__WEBPACK_IMPORTED_MODULE_0__[/* justVeryVeryVeryVeryBigNamesayHello */ "c"])();
13
-
14
- /***/ }),
15
-
16
- /***/ "./scr/utlis.js":
17
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
18
-
19
- "use strict";
20
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return b; });
21
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return justVeryVeryVeryVeryBigNamesayHello; });
22
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return justVeryBigVeryVeryVeryBigNamesay; });
23
- function b(text) {
24
- console.log("welcome everyone");
25
- console.log(text);
26
- }
27
- function justVeryVeryVeryVeryBigNamesayHello() {
28
- console.log("hello");
29
- }
30
- function justVeryBigVeryVeryVeryBigNamesay(text) {
31
- console.log("hello");
32
- console.log("text", text);
33
- }
34
-
35
- /***/ }),
36
-
37
- /***/ 0:
38
- /***/ (function(module, exports, __webpack_require__) {
39
-
40
- module.exports = __webpack_require__("./scr/index.js");
41
-
42
-
43
- /***/ })
44
-
45
- },[[0,0]]]);
46
- //# sourceMappingURL=main_.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/main_.js","sources":["webpack:///./scr/index.js","webpack:///./scr/utlis.js"],"sourcesContent":["import { justVeryVeryVeryVeryBigNamesayHello } from \"./utlis\";\nimport(\"./chunk1\")\nimport(\"./chunk2\")\njustVeryVeryVeryVeryBigNamesayHello();","export function b(text) {\n console.log(\"welcome everyone\");\n console.log(text);\n}\n\nexport function justVeryVeryVeryVeryBigNamesayHello() {\n console.log(\"hello\");\n}\nexport function justVeryBigVeryVeryVeryBigNamesay(text) {\n console.log(\"hello\");\n console.log(\"text\", text);\n}\n"],"mappings":";;;;;;AAAA;AAAA;AAAA;AACA;AACA;AACA;;;;;;;;ACHA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;A","sourceRoot":""}