mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(cli): should disable yarn prod flag
This commit is contained in:
parent
a9bcd1f2b9
commit
e1cd618ea4
@ -66,10 +66,10 @@ async function installDependencies() {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const manager = hasYarn() ? 'yarn' : 'npm';
|
const manager = hasYarn() ? 'yarn' : 'npm';
|
||||||
const installProcess = execa(manager, ['install']);
|
|
||||||
|
|
||||||
installProcess.stdout.pipe(process.stdout);
|
await execa(manager, ['install', '--prod=false'], {
|
||||||
await installProcess;
|
stdio: 'inherit'
|
||||||
|
});
|
||||||
|
|
||||||
stepper.success('Install Dependencies');
|
stepper.success('Install Dependencies');
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user