feat(platform-common): 添加WASM加载器和环境检测API

This commit is contained in:
yhh
2025-12-03 16:18:21 +08:00
parent 88af781d78
commit e6fb80d0be
8 changed files with 1025 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
"id": "platform-common",
"name": "@esengine/platform-common",
"displayName": "Platform Common",
"description": "Common platform interfaces | 平台通用接口定义",
"version": "1.0.0",
"category": "Core",
"icon": "Layers",
"tags": ["platform", "common", "interface"],
"isCore": true,
"defaultEnabled": true,
"isEngineModule": true,
"canContainContent": false,
"platforms": ["web", "desktop", "mobile"],
"dependencies": [],
"exports": {
"other": ["WasmLibraryLoaderFactory", "IPlatformAdapter"]
},
"requiresWasm": false,
"outputPath": "dist/index.mjs"
}