vben
2020-10-26 2be166d6a1a0ef4c75eefbcc2054f0f86fad3c39
build/script/postBuild.ts
File was renamed from build/script/build.ts
@@ -12,7 +12,7 @@
  try {
    const argvList = argv._;
    if (preview) {
      let cmd = `cross-env NODE_ENV=production vite build`;
      let cmd = `npm run build`;
      await sh(cmd, {
        async: true,
        nopipe: true,
@@ -33,3 +33,4 @@
    process.exit(1);
  }
};
runBuild();