@hyext/builder-revues 1.3.0 → 1.3.2

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.
package/dist/index.js CHANGED
@@ -738,7 +738,7 @@ function getLibUrl(builderConfig, localPath, check = true) {
738
738
  }
739
739
  function checkCdnSourceExist(baseUrl) {
740
740
  return __awaiter(this, void 0, void 0, function* () {
741
- const cssIndexUrl = `${baseUrl}/framework/css/index.css`;
741
+ const cssIndexUrl = `https:${baseUrl}/framework/css/index.css`;
742
742
  try {
743
743
  yield axios__default["default"].get(cssIndexUrl);
744
744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyext/builder-revues",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "> TODO: description",
5
5
  "author": "loler",
6
6
  "homepage": "",
@@ -24,10 +24,10 @@
24
24
  "url": "https://git.huya.com/exc/web/revue.git"
25
25
  },
26
26
  "dependencies": {
27
- "@revues/cocos-web-adapter": "1.3.0",
28
- "@revues/code-compiler": "1.3.0",
29
- "@revues/web-frame": "1.3.0",
30
- "@revues/web-sdk-core": "1.3.0",
27
+ "@revues/cocos-web-adapter": "1.3.2",
28
+ "@revues/code-compiler": "1.3.2",
29
+ "@revues/web-frame": "1.3.2",
30
+ "@revues/web-sdk-core": "1.3.2",
31
31
  "archiver": "^7.0.1",
32
32
  "axios": "^1.7.3",
33
33
  "chalk": "^2.4.2",
@@ -47,5 +47,5 @@
47
47
  "@types/ramda": "^0.29.11",
48
48
  "terser": "^5.31.0"
49
49
  },
50
- "gitHead": "fe704b90945d906fb7fadfea545bf1de85abc59d"
50
+ "gitHead": "f84982f22bc136dfa1ec744c3dbd65085e02292e"
51
51
  }
package/static/.DS_Store CHANGED
Binary file
@@ -67,21 +67,23 @@
67
67
  }
68
68
  </style>
69
69
  <script charset="utf-8">
70
- window.__extInfo = {"hideNavigationBarTools":true,"extUuid":"ptxbnce4","extName":"miniprogram-demo2","projectType":"miniProgram","envVersion":"develop","version":"","extType":"app_panel_h5"}
71
- window.__packageExtConfig = {"isLazyLoading":false,"entryPagePath":"pages/component/index/index"}
72
- var __loadedLinkCount = 0
73
- var __finishLinkCount = 5
74
- window.__preloadSuccess = false
75
- window.__handleLinkLoad = function (e) {
76
- __loadedLinkCount++
77
- if (__loadedLinkCount === __finishLinkCount) {
78
- window.__preloadSuccess = true
79
- if (typeof window.__handlePreloadLinkAllLoaded === 'function') {
80
- window.__handlePreloadLinkAllLoaded()
81
- window.__handlePreloadLinkAllLoaded = null
70
+ (function () {
71
+ window.__extInfo = {{ toJSON extInfo }}
72
+ window.__packageExtConfig = {{ packageExtConfig }}
73
+ var __loadedLinkCount = 0
74
+ var __finishLinkCount = 5
75
+ window.__preloadSuccess = false
76
+ window.__handleLinkLoad = function (e) {
77
+ __loadedLinkCount++
78
+ if (__loadedLinkCount === __finishLinkCount) {
79
+ window.__preloadSuccess = true
80
+ if (typeof window.__handlePreloadLinkAllLoaded === 'function') {
81
+ window.__handlePreloadLinkAllLoaded()
82
+ window.__handlePreloadLinkAllLoaded = null
83
+ }
82
84
  }
83
85
  }
84
- }
86
+ })()
85
87
  </script>
86
88
  {{#if debug}}
87
89
  <script charset="utf-8" src="https://cdnjs.cloudflare.com/ajax/libs/vConsole/3.15.1/vconsole.min.js"></script>