@flatjs/evolve 2.3.2-next.5 → 3.0.0-next.7

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 (93) hide show
  1. package/dist/build-server/base-compiler-watching.js +1 -1
  2. package/dist/build-server/compiler-server-manager.js +1 -1
  3. package/dist/build-server/compiler-server.js +1 -1
  4. package/dist/build-server/create-global-compiler-watching.js +1 -1
  5. package/dist/compiler/create-build-server-global-compiler.js +1 -1
  6. package/dist/constants.d.ts +2 -1
  7. package/dist/constants.js +1 -1
  8. package/dist/core/rspack/create-plugins.js +1 -1
  9. package/dist/core/rspack/dev-serve/add-rspack-compiler-to-dev-server.js +1 -1
  10. package/dist/core/rspack/dev-serve/create-rspack-compiler-task.js +1 -1
  11. package/dist/core/rspack/load-rspack-watch-options.js +1 -1
  12. package/dist/core/rspack/start-rspack-build.js +1 -1
  13. package/dist/core/webpack/dev-serve/add-webpack-compiler-to-dev-server.js +1 -1
  14. package/dist/core/webpack/dev-serve/create-webpack-compiler-task.js +1 -1
  15. package/dist/core/webpack/load-watch-options.js +1 -1
  16. package/dist/core/webpack/start-webpack-build.js +1 -1
  17. package/dist/default-options.js +1 -1
  18. package/dist/dev-server/create-dev-server.js +1 -1
  19. package/dist/dev-server/middlewares/create-page-middleware.js +1 -1
  20. package/dist/dev-server/middlewares/create-public-assets-middleware.js +1 -1
  21. package/dist/dev-server/middlewares/error-module-parser.d.ts +12 -0
  22. package/dist/dev-server/middlewares/error-module-parser.js +1 -0
  23. package/dist/dev-server/middlewares/get-page-main-html.js +1 -1
  24. package/dist/dev-server/middlewares/get-page-module-html.js +1 -1
  25. package/dist/dev-server/middlewares/main-module-parser.d.ts +15 -0
  26. package/dist/dev-server/middlewares/main-module-parser.js +1 -0
  27. package/dist/helpers/assert-group-entry-item.js +1 -1
  28. package/dist/helpers/chunk-entry-map.js +1 -1
  29. package/dist/helpers/custom-listr-renderer.js +1 -1
  30. package/dist/helpers/custom-message-channel.js +1 -1
  31. package/dist/helpers/delete-object-keys.js +1 -1
  32. package/dist/helpers/filter-actived-entries.js +1 -1
  33. package/dist/helpers/flat-entry-map.js +1 -1
  34. package/dist/helpers/format-spinner-text.js +1 -1
  35. package/dist/helpers/get-html-plugin-config.js +1 -1
  36. package/dist/helpers/is-deep-equal.js +1 -1
  37. package/dist/helpers/is-vue-entry-item.js +1 -1
  38. package/dist/helpers/json-serializer.js +1 -1
  39. package/dist/helpers/merge-babel-options.js +1 -1
  40. package/dist/helpers/merge-inspector-evolve-config.js +1 -1
  41. package/dist/helpers/normalize-group-name.js +1 -1
  42. package/dist/helpers/normalize-template-inject-tokens.d.ts +8 -5
  43. package/dist/helpers/normalize-template-inject-tokens.js +1 -1
  44. package/dist/helpers/resolve-entry-map-input-files.js +1 -1
  45. package/dist/helpers/split-to-entry-group.js +1 -1
  46. package/dist/helpers/verify-group-entry-options.js +1 -1
  47. package/dist/main/prepare-analyzer.js +1 -1
  48. package/dist/main/prepare-serve.js +1 -1
  49. package/dist/main/start-build-dynamic.js +1 -1
  50. package/dist/main/start-build-worker.js +1 -1
  51. package/dist/minimizer/rspack/image-minimizer.js +1 -1
  52. package/dist/minimizer/webpack/image-minimizer.js +1 -1
  53. package/dist/plugins/rspack/module-federation/external-template-remotes-rspack-plugin.js +1 -1
  54. package/dist/plugins/rspack/module-federation/index.js +1 -1
  55. package/dist/plugins/rspack/multi-html/multi-html-cdn-rspack-plugin.js +1 -1
  56. package/dist/plugins/rspack/multi-html/multi-html-modify-rspack-plugin.js +1 -0
  57. package/dist/plugins/rspack/multi-html/multi-html-rspack-plugin.js +1 -1
  58. package/dist/plugins/rspack/progress-plugin/index.d.ts +1 -1
  59. package/dist/plugins/rspack/progress-plugin/index.js +1 -1
  60. package/dist/plugins/rspack/progress-plugin/progress-handler.js +1 -1
  61. package/dist/plugins/rspack/progress-plugin/progress-worker.js +1 -1
  62. package/dist/plugins/webpack/circular-dependency/circular-dependency-webpack-plugin.js +1 -1
  63. package/dist/plugins/webpack/clean-webpack/clean-webpack-plugin.js +1 -1
  64. package/dist/plugins/webpack/clean-webpack/index.js +1 -1
  65. package/dist/plugins/webpack/html-inject-scripts/html-inject-script-webpack-plugin.js +1 -1
  66. package/dist/plugins/webpack/html-inject-scripts/html-inline-script-webpack-plugin.js +1 -1
  67. package/dist/plugins/webpack/module-federation/external-template-remotes-webpack-plugin.js +1 -1
  68. package/dist/plugins/webpack/module-federation/index.js +1 -1
  69. package/dist/plugins/webpack/multi-html/multi-html-cdn-webpack-plugin.js +1 -1
  70. package/dist/plugins/webpack/multi-html/multi-html-modify-webpack-plugin.js +1 -1
  71. package/dist/plugins/webpack/multi-html/multi-html-webpack-plugins.js +1 -1
  72. package/dist/plugins/webpack/stats-webpack/helper-write-stats.js +1 -1
  73. package/dist/plugins/webpack/stats-webpack/stats-webpack-plugin.js +1 -1
  74. package/dist/rules/rule-utils.js +1 -1
  75. package/dist/types/types-entry-map.d.ts +0 -7
  76. package/dist/types/types-multi-html.d.ts +30 -28
  77. package/dist/types/types-webpack.d.ts +4 -8
  78. package/package.json +31 -33
  79. package/templates/html-plugin/index-dev.html +11 -48
  80. package/templates/html-plugin/index-inte.html +11 -48
  81. package/templates/html-plugin/index-inte2.html +11 -48
  82. package/templates/html-plugin/index-inte3.html +11 -48
  83. package/templates/html-plugin/index-inte4.html +11 -48
  84. package/templates/html-plugin/index-me.html +11 -48
  85. package/templates/html-plugin/index-ntv.html +11 -48
  86. package/templates/html-plugin/index-prod.html +11 -48
  87. package/templates/html-plugin/index-rc.html +11 -48
  88. package/templates/html-plugin/index-uat.html +11 -48
  89. package/templates/main.html +11 -28
  90. package/templates/module-404.html +11 -22
  91. package/templates/module.html +11 -69
  92. package/dist/plugins/rspack/multi-html/multi-html-modify--rspack-plugin.js +0 -1
  93. /package/dist/plugins/rspack/multi-html/{multi-html-modify--rspack-plugin.d.ts → multi-html-modify-rspack-plugin.d.ts} +0 -0
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,60 +1,23 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8" />
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta charset="utf-8">
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
19
-
20
- <% if (headBeforeHtmlTags) { %>
21
- <% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
22
- <%= headBeforeHtmlTags[index] %>
23
- <% } %>
24
- <% } %>
25
- <% if (inlineScripts) { %>
26
- <script>
27
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
28
- <%= inlineScripts[index] %>
29
- <% } %>
30
- </script>
31
- <% } %>
32
- <% if (viewport) { %>
33
- <script>
34
- <%= viewport %>
35
- </script>
36
- <% } %>
37
- <% if (favicon) { %>
38
- <link rel="icon" type="image/png" sizes="32x32" href="<%= favicon %>" />
39
- <% } %>
40
- <% if (headBeforeStyles) { %>
41
- <% for (let index = 0; index < headBeforeStyles.length; index++) { %>
42
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
43
- <% } %>
44
- <% } %>
45
- <% if (headBeforeScripts) { %>
46
- <% for (let index = 0; index < headBeforeScripts.length; index++) { %>
47
- <script src="<%= headBeforeScripts[index]%>"></script>
48
- <% } %>
49
- <% } %>
17
+ >
50
18
  </head>
51
19
 
52
20
  <body>
53
21
  <div id="app"></div>
54
- <% if (bodyAfterScripts) { %>
55
- <% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
56
- <script src="<%= bodyAfterScripts[index]%>"></script>
57
- <% } %>
58
- <% } %>
59
22
  </body>
60
23
  </html>
@@ -1,21 +1,20 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
5
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6
- <meta http-equiv="Expires" content="0" />
7
- <meta http-equiv="Pragma" content="no-cache" />
8
- <meta http-equiv="Cache-control" content="no-cache" />
9
- <meta http-equiv="Cache" content="no-cache" />
10
- <meta name="format-detection" content="telephone=no,email=no" />
11
- <meta name="mobile-web-app-capable" content="yes" />
12
- <meta name="apple-touch-fullscreen" content="yes" />
13
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
4
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
5
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
6
+ <meta http-equiv="Expires" content="0">
7
+ <meta http-equiv="Pragma" content="no-cache">
8
+ <meta http-equiv="Cache-control" content="no-cache">
9
+ <meta http-equiv="Cache" content="no-cache">
10
+ <meta name="format-detection" content="telephone=no,email=no">
11
+ <meta name="mobile-web-app-capable" content="yes">
12
+ <meta name="apple-touch-fullscreen" content="yes">
13
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
14
  <meta
15
15
  name="viewport"
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
- />
18
- <title><%= title %></title>
17
+ >
19
18
  <style>
20
19
  body {
21
20
  padding: 0;
@@ -92,21 +91,5 @@
92
91
  </head>
93
92
 
94
93
  <body>
95
- <div class="header">
96
- <div class="logo"></div>
97
- <span>@Flatjs/Evolve</span>
98
- </div>
99
- <div class="container">
100
- <% if (modules.length) { %>
101
- <ul>
102
- <% _.forEach(modules, function (module, index) { %>
103
- <li>
104
- <a href="<%= module.link %>"> <%= index+1%>. <%= module.name %> </a>
105
- <span class="<%= module.flagText %>"> <%= module.flagText %> </span>
106
- </li>
107
- <% }) %>
108
- </ul>
109
- <% } %>
110
- </div>
111
94
  </body>
112
95
  </html>