diff --git a/app/electron/scripts/build-app.mjs b/app/electron/scripts/build-app.mjs index 3b0b88a8b9..70b5c971f2 100644 --- a/app/electron/scripts/build-app.mjs +++ b/app/electron/scripts/build-app.mjs @@ -32,4 +32,4 @@ const manifest = { }; await fs.writeFile(targetFile, JSON.stringify(manifest, null, 4)); -await run('npm install --only=production', dirBuild); \ No newline at end of file +await run('npm install --omit=dev', dirBuild); \ No newline at end of file diff --git a/app/nw/scripts/build-app.mjs b/app/nw/scripts/build-app.mjs index 3b0b88a8b9..70b5c971f2 100644 --- a/app/nw/scripts/build-app.mjs +++ b/app/nw/scripts/build-app.mjs @@ -32,4 +32,4 @@ const manifest = { }; await fs.writeFile(targetFile, JSON.stringify(manifest, null, 4)); -await run('npm install --only=production', dirBuild); \ No newline at end of file +await run('npm install --omit=dev', dirBuild); \ No newline at end of file