修复动态require导致的跨平台错误

新增emitter的dispose方法用于清理事件
启用composite增量编译
This commit is contained in:
YHH
2025-08-13 12:18:40 +08:00
parent baeb047e27
commit 25136349ff
10 changed files with 231 additions and 92 deletions

View File

@@ -14,7 +14,7 @@ async function main() {
// 执行Rollup构建
console.log('📦 执行 Rollup 构建...');
execSync('rollup -c rollup.config.cjs', { stdio: 'inherit' });
execSync('npx rollup -c rollup.config.cjs', { stdio: 'inherit' });
// 生成package.json
console.log('📋 生成 package.json...');