mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: use --omit=dev flag for npm instead of --production
This commit is contained in:
@@ -120,7 +120,7 @@ pkgInstall.installAll = () => {
|
|||||||
command = `cnpm install ${prod ? ' --production' : ''}`;
|
command = `cnpm install ${prod ? ' --production' : ''}`;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
command += prod ? ' --production' : '';
|
command += prod ? ' --omit=dev' : '';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user