修复build失败问题

This commit is contained in:
YHH
2025-08-08 15:47:48 +08:00
parent 854fd7df3a
commit fc9bf816dd
2 changed files with 4 additions and 11 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...');