@hyext/builder-revues 1.3.4 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -16,8 +16,7 @@
|
|
16
16
|
<meta name="ext-busi-type" content="ext">
|
17
17
|
<meta name="ext-build-env" content="{{buildEnv}}">
|
18
18
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
19
|
-
|
20
|
-
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-frame.js"></script>
|
19
|
+
{{headerContent}}
|
21
20
|
<style>
|
22
21
|
html,
|
23
22
|
body {
|
@@ -66,6 +65,11 @@
|
|
66
65
|
box-sizing: border-box;
|
67
66
|
}
|
68
67
|
</style>
|
68
|
+
<link rel="preload" href="{{sourcePathPrefix}}/framework/script/service.js" as="script" onload="__handleLinkLoad()">
|
69
|
+
<link rel="preload" href="{{sourcePathPrefix}}/framework/script/view.js" as="script" onload="__handleLinkLoad()">
|
70
|
+
<link rel="preload" href="{{sourcePathPrefix}}/framework/css/index.css" as="style" onload="__handleLinkLoad()">
|
71
|
+
<link rel="preload" href="./__APP__.js" as="script" onload="__handleLinkLoad()">
|
72
|
+
<link rel="preload" href="./pageframe.js" as="script" onload="__handleLinkLoad()">
|
69
73
|
<script charset="utf-8">
|
70
74
|
(function () {
|
71
75
|
window.__extInfo = {{ toJSON extInfo }}
|
@@ -92,24 +96,20 @@
|
|
92
96
|
window.__debug = true
|
93
97
|
</script>
|
94
98
|
{{/if}}
|
95
|
-
{{#if isProd}}
|
96
|
-
<script src="https://fedlib.msstatic.com/fedbasic/hyext-inner/hyext-performance/performance.global.js"></script>
|
97
|
-
<script src="https://a.msstatic.com/huya/hd/cdn_libs/performance_report-min.js"></script>
|
98
|
-
{{/if}}
|
99
|
-
<script charset="utf-8" src="{{hyextSDKUrl}}"></script>
|
100
|
-
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-sdk-core.js"></script>
|
101
99
|
</head>
|
102
100
|
|
103
101
|
<body>
|
102
|
+
{{bodyContent}}
|
104
103
|
<div class="views" id="webview-container">
|
105
104
|
<iframe class="service" id="webview-service"></iframe>
|
106
105
|
<iframe class="webview" frameborder="0" id="webview-first-view"></iframe>
|
107
106
|
</div>
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
<
|
107
|
+
{{#if isProd}}
|
108
|
+
<script src="https://fedlib.msstatic.com/fedbasic/hyext-inner/hyext-performance/performance.global.js"></script>
|
109
|
+
<script src="https://a.msstatic.com/huya/hd/cdn_libs/performance_report-min.js"></script>
|
110
|
+
{{/if}}
|
111
|
+
<script charset="utf-8" src="{{hyextSDKUrl}}"></script>
|
112
|
+
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-sdk-core.js"></script>
|
113
113
|
{{#if sentryScript}}
|
114
114
|
<script charset="utf-8" src="{{sentryScript}}" defer></script>
|
115
115
|
{{/if}}
|
@@ -17,6 +17,7 @@
|
|
17
17
|
{{/if}}
|
18
18
|
<meta name="ext-busi-type" content="game">
|
19
19
|
<meta name="ext-build-env" content="{{buildEnv}}">
|
20
|
+
{{headerContent}}
|
20
21
|
<style>
|
21
22
|
.service,
|
22
23
|
.service-preload,
|
@@ -74,13 +75,12 @@
|
|
74
75
|
window.__debug = true
|
75
76
|
</script>
|
76
77
|
{{/if}}
|
77
|
-
<link rel="stylesheet" href="{{sourcePathPrefix}}/framework/script/web-frame.css"></link>
|
78
|
-
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-frame.js"></script>
|
79
78
|
<script charset="utf-8" src="{{hyextSDKUrl}}"></script>
|
80
79
|
<script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-sdk-core.js"></script>
|
81
80
|
</head>
|
82
81
|
|
83
82
|
<body>
|
83
|
+
{{bodyContent}}
|
84
84
|
<div class="views" id="webview-container">
|
85
85
|
<iframe class="service service-view" id="webview-service" src="./game-frame.html"></iframe>
|
86
86
|
</div>
|