Skip to content

Commit

Permalink
Remove more unnecessary files in dist/node_modules/
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 13, 2021
1 parent ab38831 commit c7b592a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ async function run() {
'-rf',
'node_modules/*/{example,examples,test,tests,*.md,*.markdown,CHANGELOG*,.*,Makefile}'
);
// Remove unnecessary files in apollo-client-devtools
shell.rm(
'-rf',
'node_modules/apollo-client-devtools/{assets,build,development,shells/dev,src}'
);
// eslint-disable-next-line
require('./patch-modules');
}
Expand Down

0 comments on commit c7b592a

Please sign in to comment.