Skip to content

Commit 85ba499

Browse files
committed
Remove more unnecessary files in dist/node_modules/
1 parent e01df70 commit 85ba499

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/postinstall.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ async function run() {
2727
'-rf',
2828
'node_modules/*/{example,examples,test,tests,*.md,*.markdown,CHANGELOG*,.*,Makefile}'
2929
);
30+
// Remove unnecessary files in apollo-client-devtools
31+
shell.rm(
32+
'-rf',
33+
'node_modules/apollo-client-devtools/{assets,build,development,shells/dev,src}'
34+
);
3035
// eslint-disable-next-line
3136
require('./patch-modules');
3237
}

0 commit comments

Comments
 (0)