fix: use `--omit=dev` flag for npm instead of `--production`

isekai-main
Julian Lam 2 years ago
parent 17e948abf7
commit 09cfd0bd57

@ -120,7 +120,7 @@ pkgInstall.installAll = () => {
command = `cnpm install ${prod ? ' --production' : ''}`;
break;
default:
command += prod ? ' --production' : '';
command += prod ? ' --omit=dev' : '';
break;
}
}

Loading…
Cancel
Save