@flatjs/evolve 1.7.4 → 1.8.1-next.101
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +781 -0
- package/LICENSE +21 -0
- package/README.md +10 -46
- package/dist/constants.d.ts +15 -0
- package/dist/constants.js +1 -0
- package/dist/create-webpack/create-externals.d.ts +4 -0
- package/dist/create-webpack/create-externals.js +1 -0
- package/dist/create-webpack/create-optimization.d.ts +3 -0
- package/dist/create-webpack/create-optimization.js +1 -0
- package/dist/create-webpack/create-output.d.ts +3 -0
- package/dist/create-webpack/create-output.js +1 -0
- package/dist/create-webpack/create-performance.d.ts +2 -0
- package/dist/create-webpack/create-performance.js +1 -0
- package/dist/create-webpack/create-plugins.d.ts +4 -0
- package/dist/create-webpack/create-plugins.js +1 -0
- package/dist/create-webpack/create-resolve.d.ts +2 -0
- package/dist/create-webpack/create-resolve.js +1 -0
- package/dist/create-webpack/create-rule-sets.d.ts +4 -0
- package/dist/create-webpack/create-rule-sets.js +1 -0
- package/dist/create-webpack/load-webpack-config.d.ts +10 -0
- package/dist/create-webpack/load-webpack-config.js +1 -0
- package/dist/create-webpack/rule-sets/constants.d.ts +3 -0
- package/dist/create-webpack/rule-sets/constants.js +1 -0
- package/dist/create-webpack/rule-sets/rule-assets.d.ts +10 -0
- package/dist/create-webpack/rule-sets/rule-assets.js +1 -0
- package/dist/create-webpack/rule-sets/rule-css.d.ts +11 -0
- package/dist/create-webpack/rule-sets/rule-css.js +1 -0
- package/dist/create-webpack/rule-sets/rule-less.d.ts +26 -0
- package/dist/create-webpack/rule-sets/rule-less.js +1 -0
- package/dist/create-webpack/rule-sets/rule-scripts.d.ts +3 -0
- package/dist/create-webpack/rule-sets/rule-scripts.js +1 -0
- package/dist/create-webpack/rule-sets/rule-svg-icon.d.ts +6 -0
- package/dist/create-webpack/rule-sets/rule-svg-icon.js +1 -0
- package/dist/create-webpack/rule-sets/rule-utils.d.ts +7 -0
- package/dist/create-webpack/rule-sets/rule-utils.js +1 -0
- package/dist/create-webpack/types.d.ts +2 -0
- package/dist/create-webpack/types.js +1 -0
- package/dist/default-options.d.ts +2 -0
- package/dist/default-options.js +1 -0
- package/dist/define-config/define-config.d.ts +24 -0
- package/dist/define-config/define-config.js +1 -0
- package/dist/define-config/index.d.ts +1 -0
- package/dist/define-config/index.js +1 -0
- package/dist/dev-server/add-compiler-to-dev-server.d.ts +10 -0
- package/dist/dev-server/add-compiler-to-dev-server.js +1 -0
- package/dist/dev-server/create-app-page-route.d.ts +7 -0
- package/dist/dev-server/create-app-page-route.js +1 -0
- package/dist/dev-server/create-dev-server-compiler-tasks.d.ts +3 -0
- package/dist/dev-server/create-dev-server-compiler-tasks.js +1 -0
- package/dist/dev-server/create-dev-server-entries.d.ts +4 -0
- package/dist/dev-server/create-dev-server-entries.js +1 -0
- package/dist/dev-server/create-dev-server.d.ts +6 -0
- package/dist/dev-server/create-dev-server.js +1 -0
- package/dist/dev-server/index.d.ts +6 -0
- package/dist/dev-server/index.js +1 -0
- package/dist/dev-server/middlewares/create-page-middleware.d.ts +37 -0
- package/dist/dev-server/middlewares/create-page-middleware.js +1 -0
- package/dist/dev-server/middlewares/create-public-assets-middleware.d.ts +2 -0
- package/dist/dev-server/middlewares/create-public-assets-middleware.js +1 -0
- package/dist/dev-server/middlewares/index.d.ts +2 -0
- package/dist/dev-server/middlewares/index.js +1 -0
- package/dist/errors/evolve-build-error.d.ts +4 -0
- package/dist/errors/evolve-build-error.js +1 -0
- package/dist/helpers/allow-px2rem-for-module.d.ts +3 -0
- package/dist/helpers/allow-px2rem-for-module.js +1 -0
- package/dist/helpers/assert-only-single-entry-item.d.ts +7 -0
- package/dist/helpers/assert-only-single-entry-item.js +1 -0
- package/dist/helpers/chunk-entry-map.d.ts +7 -0
- package/dist/helpers/chunk-entry-map.js +1 -0
- package/dist/helpers/enable-bundle-hashname-for-module.d.ts +3 -0
- package/dist/helpers/enable-bundle-hashname-for-module.js +1 -0
- package/dist/helpers/filter-actived-entries.d.ts +16 -0
- package/dist/helpers/filter-actived-entries.js +1 -0
- package/dist/helpers/get-bundle-file-name.d.ts +14 -0
- package/dist/helpers/get-bundle-file-name.js +1 -0
- package/dist/helpers/get-git-root.d.ts +1 -0
- package/dist/helpers/get-git-root.js +1 -0
- package/dist/helpers/get-html-plugin-config.d.ts +20 -0
- package/dist/helpers/get-html-plugin-config.js +1 -0
- package/dist/helpers/get-max-process-tasks.d.ts +1 -0
- package/dist/helpers/get-max-process-tasks.js +1 -0
- package/dist/helpers/get-pacakge-dir.d.ts +1 -0
- package/dist/helpers/get-pacakge-dir.js +1 -0
- package/dist/helpers/index.d.ts +17 -0
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/json-serializer.d.ts +7 -0
- package/dist/helpers/json-serializer.js +1 -0
- package/dist/helpers/merge-babel-options.d.ts +4 -0
- package/dist/helpers/merge-babel-options.js +1 -0
- package/dist/helpers/normalize-entry-map.d.ts +15 -0
- package/dist/helpers/normalize-entry-map.js +1 -0
- package/dist/helpers/normalize-resolve-alias.d.ts +1 -0
- package/dist/helpers/normalize-resolve-alias.js +1 -0
- package/dist/helpers/open-page.d.ts +7 -0
- package/dist/helpers/open-page.js +1 -0
- package/dist/helpers/print-log.d.ts +8 -0
- package/dist/helpers/print-log.js +1 -0
- package/dist/helpers/refresh-evolve-mock-options.d.ts +3 -0
- package/dist/helpers/refresh-evolve-mock-options.js +1 -0
- package/dist/helpers/resolve-entry-map-input-files.d.ts +8 -0
- package/dist/helpers/resolve-entry-map-input-files.js +1 -0
- package/dist/helpers/script-injects.d.ts +11 -0
- package/dist/helpers/script-injects.js +1 -0
- package/dist/helpers/should-enable-react-fast-refresh.d.ts +3 -0
- package/dist/helpers/should-enable-react-fast-refresh.js +1 -0
- package/dist/helpers/split-to-multi-compiler.d.ts +8 -0
- package/dist/helpers/split-to-multi-compiler.js +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -0
- package/dist/load-config/index.d.ts +1 -0
- package/dist/load-config/index.js +1 -0
- package/dist/load-config/load-evolve-config.d.ts +11 -0
- package/dist/load-config/load-evolve-config.js +1 -0
- package/dist/loaders/loader-icon.cjs +33 -0
- package/dist/loaders/loader-icon.d.cts +1 -0
- package/dist/main/env-verify.d.ts +2 -0
- package/dist/main/env-verify.js +1 -0
- package/dist/main/get-worker-path.d.ts +1 -0
- package/dist/main/get-worker-path.js +1 -0
- package/dist/main/index.d.ts +4 -0
- package/dist/main/index.js +1 -0
- package/dist/main/prepare-build.d.ts +9 -0
- package/dist/main/prepare-build.js +1 -0
- package/dist/main/prepare-serve.d.ts +9 -0
- package/dist/main/prepare-serve.js +1 -0
- package/dist/main/prepare-static.d.ts +7 -0
- package/dist/main/prepare-static.js +1 -0
- package/dist/main/start-build-dynamic.d.ts +20 -0
- package/dist/main/start-build-dynamic.js +1 -0
- package/dist/main/start-build-worker.d.ts +12 -0
- package/dist/main/start-build-worker.js +1 -0
- package/dist/main/start-build.d.ts +5 -0
- package/dist/main/start-build.js +1 -0
- package/dist/main/start-one-entry-build.d.ts +13 -0
- package/dist/main/start-one-entry-build.js +1 -0
- package/dist/main/start-serve.d.ts +11 -0
- package/dist/main/start-serve.js +1 -0
- package/dist/main/start-static.d.ts +10 -0
- package/dist/main/start-static.js +1 -0
- package/dist/minimizer/create-minimizers.d.ts +3 -0
- package/dist/minimizer/create-minimizers.js +1 -0
- package/dist/minimizer/default-options.d.ts +2 -0
- package/dist/minimizer/default-options.js +1 -0
- package/dist/minimizer/image-minimizer.d.ts +16 -0
- package/dist/minimizer/image-minimizer.js +1 -0
- package/dist/minimizer/index.d.ts +1 -0
- package/dist/minimizer/index.js +1 -0
- package/dist/minimizer/terser-minimizer.d.ts +6 -0
- package/dist/minimizer/terser-minimizer.js +3 -0
- package/dist/minimizer/types.d.ts +2 -0
- package/dist/minimizer/types.js +1 -0
- package/dist/plugins/circular-dependency/circular-dependency-plugin.d.ts +54 -0
- package/dist/plugins/circular-dependency/circular-dependency-plugin.js +1 -0
- package/dist/plugins/circular-dependency/index.d.ts +7 -0
- package/dist/plugins/circular-dependency/index.js +1 -0
- package/dist/plugins/clean-webpack/clean-webpack-plugin.d.ts +67 -0
- package/dist/plugins/clean-webpack/clean-webpack-plugin.js +1 -0
- package/dist/plugins/clean-webpack/index.d.ts +9 -0
- package/dist/plugins/clean-webpack/index.js +1 -0
- package/dist/plugins/define-variable/define-variable-plugin.d.ts +14 -0
- package/dist/plugins/define-variable/define-variable-plugin.js +1 -0
- package/dist/plugins/define-variable/index.d.ts +1 -0
- package/dist/plugins/define-variable/index.js +1 -0
- package/dist/plugins/html-inject-scripts/plugin-html-inject-script.d.ts +8 -0
- package/dist/plugins/html-inject-scripts/plugin-html-inject-script.js +1 -0
- package/dist/plugins/module-federation/external-template-remotes.d.ts +4 -0
- package/dist/plugins/module-federation/external-template-remotes.js +1 -0
- package/dist/plugins/module-federation/index.d.ts +1 -0
- package/dist/plugins/module-federation/index.js +1 -0
- package/dist/plugins/module-federation/module-federation.d.ts +4 -0
- package/dist/plugins/module-federation/module-federation.js +1 -0
- package/dist/plugins/multi-html/index.d.ts +4 -0
- package/dist/plugins/multi-html/index.js +1 -0
- package/dist/plugins/multi-html/multi-html-cdn-plugin.d.ts +17 -0
- package/dist/plugins/multi-html/multi-html-cdn-plugin.js +1 -0
- package/dist/plugins/multi-html/multi-html-plugin.d.ts +11 -0
- package/dist/plugins/multi-html/multi-html-plugin.js +1 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.js +1 -0
- package/dist/types/types-ci.d.ts +23 -0
- package/dist/types/types-ci.js +1 -0
- package/dist/types/types-dev-server.d.ts +65 -0
- package/dist/types/types-dev-server.js +1 -0
- package/dist/types/types-entry-map.d.ts +71 -0
- package/dist/types/types-entry-map.js +1 -0
- package/dist/types/types-federation.d.ts +120 -0
- package/dist/types/types-federation.js +1 -0
- package/dist/types/types-loader-options.d.ts +76 -0
- package/dist/types/types-loader-options.js +1 -0
- package/dist/types/types-modular-import.d.ts +38 -0
- package/dist/types/types-modular-import.js +1 -0
- package/dist/types/types-multi-html.d.ts +75 -0
- package/dist/types/types-multi-html.js +1 -0
- package/dist/types/types-options.d.ts +117 -0
- package/dist/types/types-options.js +1 -0
- package/dist/types/types-plugin-options.d.ts +7 -0
- package/dist/types/types-plugin-options.js +1 -0
- package/dist/types/types-webpack.d.ts +96 -0
- package/dist/types/types-webpack.js +1 -0
- package/index.js +1 -4
- package/package.json +118 -61
- package/templates/html-plugin/index-dev.html +23 -46
- package/templates/html-plugin/index-inte.html +23 -46
- package/templates/html-plugin/index-inte2.html +23 -46
- package/templates/html-plugin/index-inte3.html +23 -46
- package/templates/html-plugin/index-inte4.html +23 -46
- package/templates/html-plugin/index-me.html +23 -46
- package/templates/html-plugin/index-prod.html +23 -46
- package/templates/html-plugin/index-rc.html +22 -46
- package/templates/html-plugin/index-uat.html +23 -46
- package/templates/main.html +2 -2
- package/templates/module-404.html +4 -2
- package/templates/module.html +31 -61
- package/cjs/index.js +0 -4
- package/cjs/loader-icon.js +0 -2
- package/index.d.ts +0 -721
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -16,65 +16,42 @@
|
|
16
16
|
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (
|
21
|
-
|
19
|
+
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
22
23
|
<script>
|
23
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
24
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
25
26
|
<% } %>
|
26
27
|
</script>
|
27
|
-
|
28
|
-
<% } %>
|
29
|
-
<!-- / -->
|
30
|
-
|
31
|
-
<% if (viewport) { %>
|
32
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
33
29
|
<script>
|
34
30
|
<%= viewport %>
|
35
31
|
</script>
|
36
|
-
|
37
|
-
<% } %>
|
38
|
-
|
39
|
-
<!-- / -->
|
40
|
-
<% if (favicon) { %>
|
41
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
42
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
43
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<!-- / -->
|
48
|
-
<% if (headBeforeStyles) { %>
|
49
|
-
<!-- / -->
|
50
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
51
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
52
|
-
<% } %>
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
<%
|
59
|
-
<!-- / -->
|
60
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
61
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
62
|
-
<% } %>
|
63
|
-
<!-- / -->
|
64
|
-
<% } %>
|
65
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
66
45
|
</head>
|
67
46
|
|
68
47
|
<body>
|
69
48
|
<div id="app"></div>
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
<% } %>
|
78
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
79
56
|
</body>
|
80
57
|
</html>
|
@@ -17,65 +17,41 @@
|
|
17
17
|
/>
|
18
18
|
<title><%= title %></title>
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
<% if (headBeforeHtmlTags) { %> <% for (let index = 0; index <
|
21
|
+
headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
|
22
|
+
} %> <% } %> <% if (inlineScripts) { %>
|
23
23
|
<script>
|
24
24
|
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
25
|
-
<%= inlineScripts[index]%>
|
25
|
+
<%= inlineScripts[index] %>
|
26
26
|
<% } %>
|
27
27
|
</script>
|
28
|
-
|
29
|
-
<% } %>
|
30
|
-
<!-- / -->
|
31
|
-
|
32
|
-
<% if (viewport) { %>
|
33
|
-
<!-- / -->
|
28
|
+
<% } %> <% if (viewport) { %>
|
34
29
|
<script>
|
35
30
|
<%= viewport %>
|
36
31
|
</script>
|
37
|
-
|
38
|
-
<% } %>
|
39
|
-
|
40
|
-
<!-- / -->
|
41
|
-
<% if (favicon) { %>
|
42
|
-
<!-- / -->
|
32
|
+
<% } %> <% if (favicon) { %>
|
43
33
|
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
44
34
|
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<!-- / -->
|
49
|
-
<% if (headBeforeStyles) { %>
|
50
|
-
<!-- / -->
|
51
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
35
|
+
<% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
|
36
|
+
headBeforeStyles.length; index++) { %>
|
52
37
|
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
53
|
-
<% } %>
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
<%
|
60
|
-
<!-- / -->
|
61
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
62
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
63
|
-
<% } %>
|
64
|
-
<!-- / -->
|
65
|
-
<% } %>
|
66
|
-
<!-- / -->
|
38
|
+
<% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
|
39
|
+
< headBeforeScripts.length; index++) { %>
|
40
|
+
<script
|
41
|
+
crossorigin="anonymous"
|
42
|
+
src="<%= headBeforeScripts[index]%>"
|
43
|
+
></script>
|
44
|
+
<% } %> <% } %>
|
67
45
|
</head>
|
68
46
|
|
69
47
|
<body>
|
70
48
|
<div id="app"></div>
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
<% } %>
|
79
|
-
<!-- / -->
|
49
|
+
<% if (bodyAfterScripts) { %> <% for (let index = 0; index <
|
50
|
+
bodyAfterScripts.length; index++) { %>
|
51
|
+
<script
|
52
|
+
crossorigin="anonymous"
|
53
|
+
src="<%= bodyAfterScripts[index]%>"
|
54
|
+
></script>
|
55
|
+
<% } %> <% } %>
|
80
56
|
</body>
|
81
57
|
</html>
|