fix: 修复使用pnpm build打包报错

This commit is contained in:
SpiderMan
2024-09-26 17:28:56 +08:00
parent a2c6a8ac16
commit dbdfdaae93
4 changed files with 33 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
import { runBuildConfig } from './buildConf';
import chalk from 'chalk';
import process from 'node:process'
import pkg from '../../package.json';
export const runBuild = async () => {
@@ -20,4 +20,4 @@ export const runBuild = async () => {
process.exit(1);
}
};
runBuild();
runBuild().then();