Skip to content

Commit

Permalink
fix: prune --production
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Dec 13, 2018
1 parent f8bf0d6 commit c902849
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/npm-pkgbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ pkgver() {
build() {
cd "${pkg.name}"
npm install
npm install --production
npm prune
npm prune --production
find . -name "*~" -print0|xargs -r -0 rm
find node_modules -name "*.1" -print0|xargs -r -0 rm
find node_modules -name "*.patch" -print0|xargs -r -0 rm
Expand Down

0 comments on commit c902849

Please sign in to comment.