diff --git a/modules/Utilities.js b/modules/Utilities.js index 10d35ab25..b9e7803ea 100644 --- a/modules/Utilities.js +++ b/modules/Utilities.js @@ -64,7 +64,8 @@ class Utilities { // eslint-disable-next-line no-template-curly-in-string packageDir: '${__dirname}/../', install: false, - scopeList: ['dependencies', 'devDependencies'], + scopeList: process.env.NODE_ENV !== 'production' ? + ['dependencies', 'devDependencies'] : ['dependencies'], verbose: false, }).then((output) => { if (!output.depsWereOk) {