更改为es2020模块适应Cocos/laya引擎

This commit is contained in:
YHH
2025-06-09 10:42:19 +08:00
parent 35ca1dd7ea
commit ce64de5b3d
8 changed files with 1706 additions and 113 deletions

View File

@@ -8,10 +8,8 @@ export * from './Emitter';
export * from './GlobalManager';
export * from './PerformanceMonitor';
export { Time } from './Time';
/**
* WebAssembly核心模块
* 提供高性能的ECS查询和计算功能
*/
// WebAssembly核心模块
export {
WasmEcsCore,
ecsCore,
@@ -20,5 +18,5 @@ export {
EntityId,
ComponentMask,
QueryResult,
PerformanceStats
PerformanceStats as WasmPerformanceStats
} from './WasmCore';