mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
fix(cli): should disable yarn prod flag
This commit is contained in:
@@ -66,10 +66,10 @@ async function installDependencies() {
|
||||
|
||||
try {
|
||||
const manager = hasYarn() ? 'yarn' : 'npm';
|
||||
const installProcess = execa(manager, ['install']);
|
||||
|
||||
installProcess.stdout.pipe(process.stdout);
|
||||
await installProcess;
|
||||
await execa(manager, ['install', '--prod=false'], {
|
||||
stdio: 'inherit'
|
||||
});
|
||||
|
||||
stepper.success('Install Dependencies');
|
||||
} catch (err) {
|
||||
|
Reference in New Issue
Block a user