mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36: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' : ''}`;
|
||||
break;
|
||||
default:
|
||||
command += prod ? ' --production' : '';
|
||||
command += prod ? ' --omit=dev' : '';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user