@hyext/builder-revues 1.2.2-alpha.3 → 1.2.2-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -710,7 +710,7 @@ function genEntrys(props) {
710
710
  });
711
711
  }
712
712
 
713
- const libVersion = "1.0.3-alpha.1" ;
713
+ const libVersion = "1.0.3-alpha.2" ;
714
714
  const libCdn = '//a.msstatic.com/huya/hd/h5/static-source/revue/lib';
715
715
 
716
716
  function getLibVersion(builderConfig) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/builder-revues",
3
- "version": "1.2.2-alpha.3",
3
+ "version": "1.2.2-alpha.4",
4
4
  "description": "> TODO: description",
5
5
  "author": "loler",
6
6
  "homepage": "",
@@ -24,9 +24,9 @@
24
24
  "url": "https://git.huya.com/exc/web/revue.git"
25
25
  },
26
26
  "dependencies": {
27
- "@revues/cocos-web-adapter": "1.2.2-alpha.3",
28
- "@revues/code-compiler": "1.2.2-alpha.3",
29
- "@revues/web-sdk-core": "1.2.2-alpha.3",
27
+ "@revues/cocos-web-adapter": "1.2.2-alpha.4",
28
+ "@revues/code-compiler": "1.2.2-alpha.4",
29
+ "@revues/web-sdk-core": "1.2.2-alpha.4",
30
30
  "archiver": "^7.0.1",
31
31
  "axios": "^1.7.3",
32
32
  "chalk": "^2.4.2",
@@ -46,5 +46,5 @@
46
46
  "@types/ramda": "^0.29.11",
47
47
  "terser": "^5.31.0"
48
48
  },
49
- "gitHead": "dc7187d30e5540f712d53ee237333b1377c6dc82"
49
+ "gitHead": "cad331baba30c4f196f8e6425ad0bc0154cbd02c"
50
50
  }
@@ -1,13 +1,6 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- {{#if isProd}}
5
- <link rel="preload" href="{{sourcePathPrefix}}/framework/script/service.js" as="script">
6
- <link rel="preload" href="{{sourcePathPrefix}}/framework/script/view.js" as="script">
7
- <link rel="preload" href="{{sourcePathPrefix}}/framework/css/index.css" as="style">
8
- <link rel="preload" href="./__APP__.js" as="script">
9
- <link rel="preload" href="./pageframe.js" as="script">
10
- {{/if}}
11
4
  <meta charset="UTF-8" />
12
5
  <meta id="viewport" name="viewport"
13
6
  content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
@@ -72,8 +65,21 @@
72
65
  }
73
66
  </style>
74
67
  <script charset="utf-8">
75
- window.__extInfo = {{ toJSON extInfo }}
76
- window.__packageExtConfig = {{ packageExtConfig }}
68
+ window.__extInfo = {"hideNavigationBarTools":true,"extUuid":"ptxbnce4","extName":"miniprogram-demo2","projectType":"miniProgram","envVersion":"develop","version":"","extType":"app_panel_h5"}
69
+ window.__packageExtConfig = {"isLazyLoading":false,"entryPagePath":"pages/component/index/index"}
70
+ var __loadedLinkCount = 0
71
+ var __finishLinkCount = 5
72
+ window.__preloadSuccess = false
73
+ window.__handleLinkLoad = function (e) {
74
+ __loadedLinkCount++
75
+ if (__loadedLinkCount === __finishLinkCount) {
76
+ window.__preloadSuccess = true
77
+ if (typeof window.__handlePreloadLinkAllLoaded === 'function') {
78
+ window.__handlePreloadLinkAllLoaded()
79
+ window.__handlePreloadLinkAllLoaded = null
80
+ }
81
+ }
82
+ }
77
83
  </script>
78
84
  {{!-- {{#if isProd}}
79
85
  <script src="https://fedlib.msstatic.com/fedbasic/hyext-inner/hyext-performance/performance.global.js"></script>
@@ -88,6 +94,11 @@
88
94
  {{/if}}
89
95
  <script charset="utf-8" src="{{hyextSDKUrl}}"></script>
90
96
  <script charset="utf-8" src="{{sourcePathPrefix}}/framework/script/web-sdk-core.js"></script>
97
+ <link rel="preload" href="{{sourcePathPrefix}}/framework/script/service.js" as="script" onload="__handleLinkLoad()">
98
+ <link rel="preload" href="{{sourcePathPrefix}}/framework/script/view.js" as="script" onload="__handleLinkLoad()">
99
+ <link rel="preload" href="{{sourcePathPrefix}}/framework/css/index.css" as="style" onload="__handleLinkLoad()">
100
+ <link rel="preload" href="./__APP__.js" as="script" onload="__handleLinkLoad()">
101
+ <link rel="preload" href="./pageframe.js" as="script" onload="__handleLinkLoad()">
91
102
  </head>
92
103
 
93
104
  <body>