@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.
- package/dist/constants.d.ts +9 -0
- package/dist/constants.js +1 -1
- package/dist/create-webpack/create-optimization.d.ts +2 -1
- package/dist/create-webpack/create-optimization.js +1 -1
- package/dist/create-webpack/load-webpack-config.js +1 -1
- package/dist/define-config/define-config.d.ts +3 -1
- package/dist/dev-server/add-compiler-to-dev-server.d.ts +2 -1
- package/dist/dev-server/add-compiler-to-dev-server.js +1 -1
- package/dist/dev-server/create-dev-server-compiler-tasks.d.ts +1 -1
- package/dist/dev-server/create-dev-server-compiler-tasks.js +1 -1
- package/dist/dev-server/create-dev-server.d.ts +1 -0
- package/dist/dev-server/create-dev-server.js +1 -1
- package/dist/dev-server/middlewares/create-page-middleware.js +1 -1
- package/dist/helpers/get-bundle-file-name.js +1 -1
- package/dist/helpers/json-serializer.js +1 -1
- package/dist/helpers/refresh-evolve-mock-options.d.ts +1 -1
- package/dist/helpers/split-to-multi-compiler.d.ts +1 -1
- package/dist/helpers/split-to-multi-compiler.js +1 -1
- package/dist/load-config/load-evolve-config.d.ts +1 -7
- package/dist/load-config/load-evolve-config.js +1 -1
- package/dist/load-config/types.d.ts +7 -0
- package/dist/load-config/types.js +1 -0
- package/dist/main/create-thread-worker.d.ts +16 -0
- package/dist/main/create-thread-worker.js +1 -0
- package/dist/main/prepare-serve.js +1 -1
- package/dist/main/start-build-dynamic.d.ts +2 -2
- package/dist/main/start-build-dynamic.js +1 -1
- package/dist/main/start-build-worker.d.ts +1 -1
- package/dist/main/start-build.d.ts +1 -1
- package/dist/main/start-build.js +1 -1
- package/dist/main/start-one-entry-build.js +1 -1
- package/dist/main/start-serve.d.ts +1 -1
- package/dist/main/start-static.d.ts +1 -1
- package/dist/plugins/circular-dependency/circular-dependency-plugin.d.ts +1 -1
- package/dist/plugins/circular-dependency/circular-dependency-plugin.js +1 -1
- package/dist/types/types-ci.d.ts +7 -0
- package/dist/types/types-multi-html.d.ts +2 -0
- package/package.json +41 -43
- package/CHANGELOG.md +0 -765
- package/templates/html-plugin/README.md +0 -5
- package/templates/html-plugin/index-dev.html +0 -57
- package/templates/html-plugin/index-inte.html +0 -57
- package/templates/html-plugin/index-inte2.html +0 -57
- package/templates/html-plugin/index-inte3.html +0 -57
- package/templates/html-plugin/index-inte4.html +0 -57
- package/templates/html-plugin/index-me.html +0 -57
- package/templates/html-plugin/index-prod.html +0 -57
- package/templates/html-plugin/index-rc.html +0 -57
- package/templates/html-plugin/index-uat.html +0 -57
- package/templates/main.html +0 -112
- package/templates/module-404.html +0 -43
- package/templates/module.html +0 -71
@@ -1,43 +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
|
-
ul {
|
21
|
-
padding: 0;
|
22
|
-
margin: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
.name {
|
26
|
-
font-weight: bold;
|
27
|
-
}
|
28
|
-
</style>
|
29
|
-
</head>
|
30
|
-
|
31
|
-
<body>
|
32
|
-
<div class="container">
|
33
|
-
<ul>
|
34
|
-
<% _.forEach(errorMeta, function (error) { %>
|
35
|
-
<li>
|
36
|
-
<span class="name"> <%= error.name %>: </span>
|
37
|
-
<span class="value"> <%= error.value %> </span>
|
38
|
-
</li>
|
39
|
-
<% }) %>
|
40
|
-
</ul>
|
41
|
-
</div>
|
42
|
-
</body>
|
43
|
-
</html>
|
package/templates/module.html
DELETED
@@ -1,71 +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 (styles.length) { %> <% _.forEach(styles, (css)=> { %>
|
39
|
-
<link href="<%= css %>" rel="stylesheet" />
|
40
|
-
<% }) %> <% } %>
|
41
|
-
|
42
|
-
<script>
|
43
|
-
window.GLOBAL = <%= JSON.stringify(Object.assign(global, {})) %>;
|
44
|
-
</script>
|
45
|
-
|
46
|
-
<% if (headBeforeScripts) { %> <% for (let index = 0; index <
|
47
|
-
headBeforeScripts.length; index++) { %>
|
48
|
-
<script
|
49
|
-
crossorigin="anonymous"
|
50
|
-
src="<%= headBeforeScripts[index]%>"
|
51
|
-
></script>
|
52
|
-
<% } %> <% } %>
|
53
|
-
</head>
|
54
|
-
|
55
|
-
<body>
|
56
|
-
<div id="app"></div>
|
57
|
-
<% if (moduleFederationScripts.length) { %>
|
58
|
-
<script>
|
59
|
-
<%= moduleFederationScripts %>
|
60
|
-
</script>
|
61
|
-
<% } %> <% if (scripts.length) { %> <% _.forEach(scripts, (js)=> { %>
|
62
|
-
<script src="<%= js %>"></script>
|
63
|
-
<% }) %> <% } %> <% if (bodyAfterScripts) { %> <% for (let index = 0; index
|
64
|
-
< bodyAfterScripts.length; index++) { %>
|
65
|
-
<script
|
66
|
-
crossorigin="anonymous"
|
67
|
-
src="<%= bodyAfterScripts[index]%>"
|
68
|
-
></script>
|
69
|
-
<% } %> <% } %>
|
70
|
-
</body>
|
71
|
-
</html>
|