Skip to content

Commit 1705b9b

Browse files
committed
chore: add umd format output
1 parent 2d74aac commit 1705b9b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

packages/xr/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
},
1919
"types": "types/index.d.ts",
2020
"main": "dist/commonjs/browser.js",
21+
"umd": {
22+
"name": "Galacean.Toolkit.XR",
23+
"globals": {
24+
"@galacean/engine": "Galacean",
25+
"@galacean/engine-xr": "Galacean.XR"
26+
}
27+
},
2128
"module": "dist/es/index.js",
2229
"ignoreMiniProgram": true,
2330
"files": [
@@ -26,6 +33,6 @@
2633
],
2734
"peerDependencies": {
2835
"@galacean/engine": "^1.4.0",
29-
"@galacean/engine-xr": "^1.3.0-beta.6"
36+
"@galacean/engine-xr": "^1.4.0"
3037
}
3138
}

0 commit comments

Comments
 (0)