@flatjs/evolve 1.8.1-next.99 → 2.0.0-next.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/constants.d.ts +9 -0
  2. package/dist/constants.js +1 -1
  3. package/dist/create-webpack/create-optimization.d.ts +2 -1
  4. package/dist/create-webpack/create-optimization.js +1 -1
  5. package/dist/create-webpack/load-webpack-config.js +1 -1
  6. package/dist/define-config/define-config.d.ts +3 -1
  7. package/dist/dev-server/add-compiler-to-dev-server.d.ts +2 -1
  8. package/dist/dev-server/add-compiler-to-dev-server.js +1 -1
  9. package/dist/dev-server/create-dev-server-compiler-tasks.d.ts +1 -1
  10. package/dist/dev-server/create-dev-server-compiler-tasks.js +1 -1
  11. package/dist/dev-server/create-dev-server.d.ts +1 -0
  12. package/dist/dev-server/create-dev-server.js +1 -1
  13. package/dist/dev-server/middlewares/create-page-middleware.js +1 -1
  14. package/dist/helpers/get-bundle-file-name.js +1 -1
  15. package/dist/helpers/json-serializer.js +1 -1
  16. package/dist/helpers/refresh-evolve-mock-options.d.ts +1 -1
  17. package/dist/helpers/split-to-multi-compiler.d.ts +1 -1
  18. package/dist/helpers/split-to-multi-compiler.js +1 -1
  19. package/dist/load-config/load-evolve-config.d.ts +1 -7
  20. package/dist/load-config/load-evolve-config.js +1 -1
  21. package/dist/load-config/types.d.ts +7 -0
  22. package/dist/load-config/types.js +1 -0
  23. package/dist/main/create-thread-worker.d.ts +16 -0
  24. package/dist/main/create-thread-worker.js +1 -0
  25. package/dist/main/prepare-serve.js +1 -1
  26. package/dist/main/start-build-dynamic.d.ts +2 -2
  27. package/dist/main/start-build-dynamic.js +1 -1
  28. package/dist/main/start-build-worker.d.ts +1 -1
  29. package/dist/main/start-build.d.ts +1 -1
  30. package/dist/main/start-build.js +1 -1
  31. package/dist/main/start-one-entry-build.js +1 -1
  32. package/dist/main/start-serve.d.ts +1 -1
  33. package/dist/main/start-static.d.ts +1 -1
  34. package/dist/plugins/circular-dependency/circular-dependency-plugin.d.ts +1 -1
  35. package/dist/plugins/circular-dependency/circular-dependency-plugin.js +1 -1
  36. package/dist/types/types-ci.d.ts +7 -0
  37. package/dist/types/types-multi-html.d.ts +2 -0
  38. package/package.json +41 -43
  39. package/CHANGELOG.md +0 -765
  40. package/templates/html-plugin/README.md +0 -5
  41. package/templates/html-plugin/index-dev.html +0 -57
  42. package/templates/html-plugin/index-inte.html +0 -57
  43. package/templates/html-plugin/index-inte2.html +0 -57
  44. package/templates/html-plugin/index-inte3.html +0 -57
  45. package/templates/html-plugin/index-inte4.html +0 -57
  46. package/templates/html-plugin/index-me.html +0 -57
  47. package/templates/html-plugin/index-prod.html +0 -57
  48. package/templates/html-plugin/index-rc.html +0 -57
  49. package/templates/html-plugin/index-uat.html +0 -57
  50. package/templates/main.html +0 -112
  51. package/templates/module-404.html +0 -43
  52. package/templates/module.html +0 -71
@@ -1,5 +0,0 @@
1
- ### The default templates for generating html for `html-webpack-plugin`
2
-
3
- ### npm cdn
4
-
5
- `https://unpkg.com/`
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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) { %> <% for (let index = 0; index <
21
- headBeforeHtmlTags.length; index++) { %> <%= headBeforeHtmlTags[index] %> <%
22
- } %> <% } %> <% if (inlineScripts) { %>
23
- <script>
24
- <% for (let index = 0; index < inlineScripts.length; index++) { %>
25
- <%= inlineScripts[index] %>
26
- <% } %>
27
- </script>
28
- <% } %> <% if (viewport) { %>
29
- <script>
30
- <%= viewport %>
31
- </script>
32
- <% } %> <% if (favicon) { %>
33
- <link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
34
- <link rel="icon" href="<%= favicon %>" type="image/x-icon" />
35
- <% } %> <% if (headBeforeStyles) { %> <% for (let index = 0; index <
36
- headBeforeStyles.length; index++) { %>
37
- <link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
38
- <% } %> <% } %> <% if (headBeforeScripts) { %> <% for (let index = 0; index
39
- < headBeforeScripts.length; index++) { %>
40
- <script
41
- crossorigin="anonymous"
42
- src="<%= headBeforeScripts[index]%>"
43
- ></script>
44
- <% } %> <% } %>
45
- </head>
46
-
47
- <body>
48
- <div id="app"></div>
49
- <% if (bodyAfterScripts) { %> <% for (let index = 0; index <
50
- bodyAfterScripts.length; index++) { %>
51
- <script
52
- crossorigin="anonymous"
53
- src="<%= bodyAfterScripts[index]%>"
54
- ></script>
55
- <% } %> <% } %>
56
- </body>
57
- </html>
@@ -1,112 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
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="apple-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
- <meta
15
- name="viewport"
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
- <style>
20
- body {
21
- padding: 0;
22
- margin: 0;
23
- }
24
-
25
- .header {
26
- background-color: rgb(75, 94, 64);
27
- height: 40px;
28
- line-height: 40px;
29
- color: #fff;
30
- display: block;
31
- text-align: center;
32
- position: relative;
33
- font-weight: 600;
34
- }
35
-
36
- .logo {
37
- left: 10px;
38
- top: 5px;
39
- width: 30px;
40
- height: 30px;
41
- position: absolute;
42
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAARFQTFRFAAAAOTFBOTVBOTlBFRUVQTpKaS/GaTDGaTHHajLHajPIajXJajbJazjKbDrLbDzMbD7MbD7NbEHNbEPObETPbUbPbUfQbUnQbUvRbU3SbU/SbVDTblLTblTUblbVbljVblrWblzWbl3Xb2DYb2LYb2TZb2XZb2fab2rbcGzbcG7ccW/ccXLdcnPdcnXecnffc3rfc3zgc37gc4Dhc4Pic4TiTE9cs5vl////7uz6k3jcf2PXf2TYgGbYgGjZgGragGzagG3agG/agHDbgXPcgXTcgXbdgXfdgXnegXzfgn3fgH3fhGbY5eL3f3reEBAQUERhUEdhUEdjU0ljU0xjU05jU05mU1BmU1NmU1VmDQ0aKaYoegAAAFt0Uk5TCkNDQwxP////////////////////////////////////////////////////////////////Yf///////////////////////////////xBsbGxsbGxsbGxsFKjHmBsAAAChSURBVHicY2BgZMIPmNEBCwMrGzsHJxc3Dy8vH7+AoJCwiKiYuISklLSMrJy8gqKSsoqqmrqGppa2jq6evoGhkbGJqdmw12NugQ1YDm09VtY2tnb2Do5Ozi6ubu4enl7ehPX4kBFuo3pG9Qx2PejAd4jrQc/bfoMorEf1jOoZZnoGc9uFGD3+AYFAEAQEwQgQEhISCgZhQBAOAhEQEAkEUQBE8F/uPJrcJQAAAABJRU5ErkJggg==');
43
- background-size: 100% auto;
44
- border: 1px solid #a1a1a1;
45
- }
46
-
47
- ul {
48
- padding: 0;
49
- text-align: left;
50
- margin: 0;
51
- overflow: hidden;
52
- }
53
-
54
- ul li {
55
- font-weight: 600;
56
- list-style: none;
57
- border-bottom: 1px solid rgba(0, 0, 0, 0.12);
58
- position: relative;
59
- }
60
-
61
- ul li a {
62
- display: block;
63
- width: 100%;
64
- height: 40px;
65
- font-size: 14px;
66
- padding-left: 15px;
67
- line-height: 40px;
68
- color: rgb(60, 60, 60);
69
- text-decoration: none;
70
- }
71
-
72
- ul li span {
73
- border-radius: 12px;
74
- background: rgba(75, 94, 64, 0.8);
75
- position: absolute;
76
- color: #fff;
77
- right: 10px;
78
- top: 50%;
79
- padding: 2px 5px;
80
- font-size: 12px;
81
- width: 30px;
82
- text-align: center;
83
- transform: translateY(-50%);
84
- }
85
-
86
- ul li .static {
87
- border-radius: 12px;
88
- background: #ccc;
89
- color: #868686;
90
- }
91
- </style>
92
- </head>
93
-
94
- <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
- </body>
112
- </html>