flyzto 1 месяц назад
Родитель
Сommit
4c55b0389a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      server/models/Control.js

+ 1 - 1
server/models/Control.js

@@ -164,7 +164,7 @@ const releaseWeb = () => {
   GLOBAL_DATA.buildLock = true;
   const webRootPath = path.resolve(__rootPath, 'web');
   return new Promise((resolve, reject) => {
-    exec('npm run build', { cwd: webRootPath }, (error, stdout, stderr) => {
+    exec('pnpm run build:antd', { cwd: webRootPath }, (error, stdout, stderr) => {
       GLOBAL_DATA.buildLock = false;
       if (error) {
         reject(new Error(stderr) || error);