Skip to content

Commit

Permalink
fix(build): remove scripts to copy pre-build node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbcross authored and vsavkin committed Aug 8, 2018
1 parent 36d5ac0 commit 2a8fa9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/scripts/after-pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ exports.default = async function(context) {
} else {
execSync('cp tools/win/.bin/ng.cmd dist/electron/ng.cmd');
execSync('cp tools/win/.bin/ng.cmd dist/packages/win-unpacked/resources/app/ng.cmd');

execSync('rm -rf dist/electron/node_modules');
execSync('rm -rf dist/packages/win-unpacked/resources/app/node_modules');
execSync('unzip ./tools/win/node_modules.zip -d ./dist/electron');
execSync('unzip ./tools/win/node_modules.zip -d dist/packages/win-unpacked/resources/app');
}
}
};
Binary file removed tools/win/node_modules.zip
Binary file not shown.

0 comments on commit 2a8fa9e

Please sign in to comment.