flyzto пре 1 месец
родитељ
комит
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);