Skip to content

Commit 3282f76

Browse files
committed
Don't include all packages from node_modules
This reduces the size of the binary by half and also speeds up the start up time
1 parent 957d505 commit 3282f76

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Gruntfile.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ module.exports = function(grunt) {
3636
src: [
3737
'./app/**',
3838
'./package.json',
39-
'./node_modules/**'
39+
'./node_modules/nedb/**',
40+
'./node_modules/underscore/**',
41+
'./node_modules/async/**',
42+
'./node_modules/binary-search-tree/**',
43+
'./node_modules/mkdirp/**',
4044
]
4145
},
4246
clean: {

0 commit comments

Comments
 (0)