@hap-toolkit/dsl-xvm 2.0.9-alpha.3 → 2.0.9-alpha.5
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.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";function dataLoader(t){let e={};try{const r=JSON.parse(t);e=r.uiData||r.data||{}}catch(t){throw new Error(`${this.resourcePath} 中的 <data> 解析失败,请检查是否为标准的 JSON 格式\n${t}`)}return`module.exports = ${JSON.stringify(e)}`}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=dataLoader;
|
|
2
2
|
//# sourceMappingURL=data-loader.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hap-toolkit/dsl-xvm",
|
|
3
|
-
"version": "2.0.9-alpha.
|
|
3
|
+
"version": "2.0.9-alpha.5",
|
|
4
4
|
"description": "webpack {loader,plugin} for supporting xvm in quickapp",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=14.0.0"
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"!**/.DS_Store"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hap-toolkit/compiler": "2.0.9-alpha.
|
|
40
|
-
"@hap-toolkit/packager": "2.0.9-alpha.
|
|
41
|
-
"@hap-toolkit/shared-utils": "2.0.9-alpha.
|
|
39
|
+
"@hap-toolkit/compiler": "2.0.9-alpha.5",
|
|
40
|
+
"@hap-toolkit/packager": "2.0.9-alpha.5",
|
|
41
|
+
"@hap-toolkit/shared-utils": "2.0.9-alpha.5",
|
|
42
42
|
"@jayfate/path": "^0.0.13",
|
|
43
43
|
"babel-loader": "^8.1.0",
|
|
44
44
|
"css-loader": "^5.0.1",
|