@zohodesk/react-cli 0.0.1-beta.167 → 0.0.1-beta.167.1

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.
Files changed (59) hide show
  1. package/README.md +10 -0
  2. package/lib/pluginUtils/getDevPlugins.js +5 -0
  3. package/lib/pluginUtils/getProdPlugins.js +4 -0
  4. package/lib/plugins/CustomAttributePlugin.js +82 -0
  5. package/lib/plugins/CustomAttributePlugin.md +35 -0
  6. package/lib/schemas/index.js +7 -0
  7. package/package.json +1 -1
  8. package/eslint/NOTES.md +0 -3
  9. package/eslint/React_CDN.zip +0 -0
  10. package/eslint/a23.c +0 -16
  11. package/eslint/a28.c +0 -25
  12. package/eslint/a29.c +0 -25
  13. package/eslint/a30.c +0 -29
  14. package/eslint/a31.c +0 -23
  15. package/eslint/a35.c +0 -23
  16. package/eslint/a36.c +0 -18
  17. package/eslint/a37.c +0 -25
  18. package/eslint/a38.c +0 -28
  19. package/eslint/a39.c +0 -17
  20. package/eslint/a40.c +0 -32
  21. package/eslint/mockapi.html +0 -18
  22. package/eslint/mockapi.md +0 -5
  23. package/eslint/temp/a +0 -0
  24. package/eslint/temp/a.der +0 -0
  25. package/eslint/temp/a.jks +0 -0
  26. package/eslint/temp/a.p12 +0 -0
  27. package/eslint/temp/a.pfx +0 -0
  28. package/eslint/temp/c.jks +0 -0
  29. package/eslint/temp/package.json +0 -15
  30. package/eslint/temp/pkcs12.keystore +0 -0
  31. package/eslint/temp/pkk.pfx +0 -0
  32. package/eslint/temp/sas.keystore +0 -0
  33. package/eslint/temp/sas.keystore.old +0 -0
  34. package/eslint/testa/build1/index.html +0 -12
  35. package/eslint/testa/build1/js/2_.js +0 -15
  36. package/eslint/testa/build1/js/2_.js.map +0 -1
  37. package/eslint/testa/build1/js/main_.js +0 -40
  38. package/eslint/testa/build1/js/main_.js.map +0 -1
  39. package/eslint/testa/build1/js/runtime~main_.js +0 -251
  40. package/eslint/testa/build1/js/runtime~main_.js.map +0 -1
  41. package/eslint/testa/build2/index.html +0 -12
  42. package/eslint/testa/build2/js/2_.js +0 -15
  43. package/eslint/testa/build2/js/2_.js.map +0 -1
  44. package/eslint/testa/build2/js/3_.js +0 -15
  45. package/eslint/testa/build2/js/3_.js.map +0 -1
  46. package/eslint/testa/build2/js/main_.js +0 -46
  47. package/eslint/testa/build2/js/main_.js.map +0 -1
  48. package/eslint/testa/build2/js/runtime~main_.js +0 -251
  49. package/eslint/testa/build2/js/runtime~main_.js.map +0 -1
  50. package/eslint/testa/package.json +0 -22
  51. package/eslint/testa/scr/chunk1.js +0 -3
  52. package/eslint/testa/scr/chunk2.js +0 -3
  53. package/eslint/testa/scr/index.html +0 -12
  54. package/eslint/testa/scr/index.js +0 -4
  55. package/eslint/testa/scr/utlis.js +0 -12
  56. package/eslint/testa/src/chunk1.js +0 -3
  57. package/eslint/testa/src/index.html +0 -12
  58. package/eslint/testa/src/index.js +0 -3
  59. package/eslint/testa/src/utlis.js +0 -7
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  A CLI tool for build modern web application and libraries
4
4
 
5
+
6
+ # 0.0.1-beta.167.1
7
+ In this version we merged changes from [0.0.1-betaa.138.1](#0.0.1-betaa.138.1).
8
+ and with [0.0.1-beta.167](#0.0.1-beta.167) version changes.
9
+
5
10
  # 0.0.1-beta.167
6
11
 
7
12
  SSL certificate update
@@ -263,6 +268,11 @@ impact servise related changes:-
263
268
  - babel runtime plugin issue fix in prod config
264
269
  - few enhancements
265
270
 
271
+ # 0.0.1-betaa.138.1
272
+ - new feature added for custom extra attribute for dynamically added tags by webpack.
273
+ - To enable this feature you need to enable "react-cli" => "app" => "customAttributes" => "enable"
274
+ - For more [details](https://zgit.csez.zohocorpin.com/zohodesk/react-cli/-/blob/9eea8df14e55584b2114b5e484ca8b751a4ba191/src/plugins/CustomAttributePlugin.md)
275
+
266
276
  # 0.0.1-beta.138
267
277
 
268
278
  - sstest library version updated
@@ -31,6 +31,8 @@ var _plugins = require("../plugins");
31
31
 
32
32
  var _common = require("../common");
33
33
 
34
+ var _CustomAttributePlugin = require("../plugins/CustomAttributePlugin");
35
+
34
36
  var _RtlCssPlugin = require("../plugins/RtlSplitPlugin/RtlCssPlugin");
35
37
 
36
38
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -41,6 +43,7 @@ let getDevPlugins = (options, publicPath) => {
41
43
  tpFolder,
42
44
  folder,
43
45
  instrumentScript,
46
+ customAttributes,
44
47
  devCssFileBountry,
45
48
  context,
46
49
  hasEFC: prevOptionForEnableEFC,
@@ -80,6 +83,7 @@ let getDevPlugins = (options, publicPath) => {
80
83
  NODE_ENV: JSON.stringify(mode === 'dev-no-warn' ? 'production' : 'development')
81
84
  }
82
85
  }), new _miniCssExtractPlugin.default({
86
+ attributes: customAttributes.cssAttributes,
83
87
  filename: cssLTRFileNameTempalte,
84
88
  // ignoreOrder: true,
85
89
  chunkFilename: cssLTRFileNameTempalte
@@ -194,6 +198,7 @@ let getDevPlugins = (options, publicPath) => {
194
198
  mainChunkName: 'main'
195
199
  }));
196
200
  instrumentScript && plugins.push(new _plugins.ScriptInstrumentPlugin());
201
+ customAttributes.enable && plugins.push(new _CustomAttributePlugin.CustomAttributePlugin(customAttributes));
197
202
  hasShadowDOM && plugins.push(new _plugins.ShadowDOMSupportPlugin());
198
203
 
199
204
  if (devCssFileBountry) {
@@ -31,6 +31,8 @@ var _plugins = require("../plugins");
31
31
 
32
32
  var _common = require("../common");
33
33
 
34
+ var _CustomAttributePlugin = require("../plugins/CustomAttributePlugin");
35
+
34
36
  var _RtlCssPlugin = require("../plugins/RtlSplitPlugin/RtlCssPlugin");
35
37
 
36
38
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -59,6 +61,7 @@ let getProdPlugins = (options, publicPath = '') => {
59
61
  htmlTemplate: {
60
62
  inject
61
63
  },
64
+ customAttributes,
62
65
  tpHashMapping,
63
66
  cdnMapping,
64
67
  crossorigin
@@ -276,6 +279,7 @@ let getProdPlugins = (options, publicPath = '') => {
276
279
  }));
277
280
  }
278
281
 
282
+ customAttributes.enable && plugins.push(new _CustomAttributePlugin.CustomAttributePlugin(customAttributes));
279
283
  return plugins;
280
284
  };
281
285
 
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CustomAttributePlugin = void 0;
7
+
8
+ var _Template = _interopRequireDefault(require("webpack/lib/Template"));
9
+
10
+ var _htmlWebpackInjectAttributesPlugin = _interopRequireDefault(require("html-webpack-inject-attributes-plugin"));
11
+
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+
14
+ /* eslint-disable no-use-before-define */
15
+ class CustomAttributePlugin {
16
+ constructor(options) {
17
+ this.options = {
18
+ attributes: options.attributes,
19
+ useHTMLAttribute: options.attributes && !options.jsAttributes && !options.cssAttributes && !options.i18nAttributes,
20
+ jsAttributes: options.jsAttributes || options.attributes || {},
21
+ cssAttributes: options.cssAttributes || options.attributes || {},
22
+ i18nAttributes: options.i18nAttributes || options.attributes || {}
23
+ };
24
+ }
25
+
26
+ addCustomAttributeToDynamicScriptTags(mainTemplate) {
27
+ const {
28
+ jsAttributes,
29
+ cssAttributes,
30
+ i18nAttributes
31
+ } = this.options; // NOTE: To add custom Attributes to js Script tags
32
+
33
+ mainTemplate.hooks.jsonpScript.tap('CustomAttributePlugin', source => {
34
+ const str = attributeSetTemplate(jsAttributes, 'script');
35
+ return _Template.default.asString([source, ...str]);
36
+ }); // NOTE: To add custom Attributes to css link tags
37
+
38
+ mainTemplate.hooks.requireEnsure.tap('CustomAttributePlugin', source => {
39
+ const str = attributeSetTemplate(cssAttributes, 'linkTag');
40
+ const replacedStr = source.replace('head.appendChild(linkTag);', `${str.join('')}head.appendChild(linkTag);`); // console.log({ s: source, r: replacedStr });
41
+
42
+ return replacedStr;
43
+ }); // NOTE: To add custom Attributes to i18n split js Script tags
44
+
45
+ mainTemplate.hooks.requireEnsure.tap('CustomAttributePlugin', source => {
46
+ const str = attributeSetTemplate(i18nAttributes, 'scriptTag');
47
+ const replacedStr = source.replace('document.body.appendChild(scriptTag);', `${str.join('')}document.body.appendChild(scriptTag);`); // console.log({ s: source, r: replacedStr });
48
+
49
+ return replacedStr;
50
+ });
51
+ }
52
+
53
+ apply(compiler) {
54
+ // NOTE: we not using this, Reason currently this option is only need for EFC,
55
+ // So it do not needed.
56
+ const {
57
+ attributes,
58
+ useHTMLAttribute
59
+ } = this.options;
60
+ useHTMLAttribute && new _htmlWebpackInjectAttributesPlugin.default(attributes).apply(compiler);
61
+ compiler.hooks.thisCompilation.tap({
62
+ name: 'CustomAttributePlugin',
63
+ stage: 1,
64
+ fn: compilation => {
65
+ this.addCustomAttributeToDynamicScriptTags(compilation.mainTemplate);
66
+ }
67
+ });
68
+ }
69
+
70
+ }
71
+
72
+ exports.CustomAttributePlugin = CustomAttributePlugin;
73
+
74
+ function attributeSetTemplate(jsAttributes, variableName) {
75
+ let str = [];
76
+ Object.keys(jsAttributes).forEach(key => {
77
+ const val = jsAttributes[key];
78
+ str.push(`${variableName}.setAttribute(${JSON.stringify(key)}, ${JSON.stringify(val)});`);
79
+ }); // console.log({ str });
80
+
81
+ return str;
82
+ }
@@ -0,0 +1,35 @@
1
+ # CustomAttributePlugin
2
+ In this plugin we added all dynamic chunks tags (like js script tags , css script tags, i18n split script tags) to extra custom attribute
3
+
4
+ ## Options
5
+
6
+ ```json
7
+ {
8
+ "name": "some",
9
+ "react-cli": {
10
+ "app": {
11
+ "customAttributes": {// this is the all options
12
+ "enable": false,
13
+ "attributes": null,
14
+ "jsAttributes": null,
15
+ "cssAttributes": null,
16
+ "i18nAttributes": null
17
+ }
18
+ }
19
+ }
20
+ ```
21
+
22
+ ### enable [Boolean]
23
+ this decides is this plugin or feature needs to be enabled of not.
24
+
25
+
26
+ ### attributes [Object]
27
+ It was object of key value pairs Example Given Option {"data-app-name":"myapp"}
28
+ Then all dynamically (js script tags , css script tags, i18n split script tags) added tags via webpack
29
+
30
+ ### jsAttributes [Object]
31
+ same as [attributes] but only for js script tags
32
+ ### cssAttributes [Object]
33
+ same as [attributes] but only for css script tags
34
+ ### i18nAttributes [Object]
35
+ same as [attributes] but only for i18n split script tags
@@ -110,6 +110,13 @@ var _default = {
110
110
  filenames: [],
111
111
  packages: []
112
112
  },
113
+ customAttributes: {
114
+ enable: false,
115
+ attributes: null,
116
+ jsAttributes: null,
117
+ cssAttributes: null,
118
+ i18nAttributes: null
119
+ },
113
120
  server: {
114
121
  host: {
115
122
  value: (0, _os.hostname)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/react-cli",
3
- "version": "0.0.1-beta.167",
3
+ "version": "0.0.1-beta.167.1",
4
4
  "description": "A CLI tool for build modern web application and libraries",
5
5
  "scripts": {
6
6
  "init": "node ./lib/utils/init.js",
package/eslint/NOTES.md DELETED
@@ -1,3 +0,0 @@
1
- Suggestions :
2
-
3
- 1. 'lint-setup', 'add-lint-scripts' not need to exposed
Binary file
package/eslint/a23.c DELETED
@@ -1,16 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 23
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int i = 20, j = 22, k = 20, l = 10;
9
-
10
- for (int m = 0; m <= 10; m++)
11
- {
12
- l = ++i + ++j - k--;
13
- }
14
- printf("%d\n", l);
15
- return 0;
16
- }
package/eslint/a28.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 28
4
- int mark(int x)
5
- {
6
- if (x <= 0)
7
- {
8
- return 1;
9
- }
10
- return 0;
11
- }
12
-
13
- int main()
14
- {
15
- // Write C code here
16
- int x = 2345, t, a = 0;
17
- while (x > 0)
18
- {
19
- t = x % 10;
20
- a += mark(t);
21
- x /= 10;
22
- }
23
- printf("%d\n", a);
24
- return 0;
25
- }
package/eslint/a29.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 29
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int x = 777, y, s = 0, m, n, t, u;
9
- y = x;
10
- for (m = 0; y != 0; y /= 10)
11
- {
12
- u = y % 9;
13
- for (n = m, t = 1; n >= 0; n--)
14
- {
15
- t *= 9;
16
- }
17
- if (u < 5)
18
- {
19
- u += 3;
20
- }
21
- s = s * u + t;
22
- }
23
- printf("%d\n", s);
24
- return 0;
25
- }
package/eslint/a30.c DELETED
@@ -1,29 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 30
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int a[8] = {24, 27, 33, 27, 9, 43, 0, 3};
9
- int i, sum = 0;
10
- for (i = 0; i < 5; i = i + 1)
11
- {
12
- switch (a[i] % 3)
13
- {
14
- case 2:
15
- sum = sum * sum;
16
- break;
17
- case 1:
18
- sum += a[i];
19
- break;
20
- case 0:
21
- sum -= a[i];
22
- break;
23
- default:
24
- sum = sum * a[i];
25
- }
26
- }
27
- printf("%d\n", sum);
28
- return 0;
29
- }
package/eslint/a31.c DELETED
@@ -1,23 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 31
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int x = 16, y = 32, i = 0;
9
- do
10
- {
11
- if (x % 2 == 0)
12
- {
13
- y /= 2;
14
- }
15
- if (y % 2 < 1)
16
- {
17
- x /= 2;
18
- }
19
- i++;
20
- } while (x > 1);
21
- printf("%d\n", i);
22
- return 0;
23
- }
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>
package/eslint/temp/a DELETED
Binary file
package/eslint/temp/a.der DELETED
Binary file
package/eslint/temp/a.jks DELETED
Binary file
package/eslint/temp/a.p12 DELETED
Binary file
package/eslint/temp/a.pfx DELETED
Binary file
package/eslint/temp/c.jks DELETED
Binary file
@@ -1,15 +0,0 @@
1
- {
2
- "name": "temp",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": [],
10
- "author": "ponkumar.s <nksponkumar@gmail.com>",
11
- "license": "ISC",
12
- "dependencies": {
13
- "jks-js": "^1.0.2"
14
- }
15
- }
Binary file
Binary file
Binary file
Binary file
@@ -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":""}