Sindre Svendby
11/07/2017, 2:55 PMDEBUG="*" graphcool deploy
I see this
deploy bundling +588ms
bundler /home/sindre/git/nvbf/pepper/.build/build.zip
Bundling functions... bundler added files [ '.babelrc',
'.git/',
'.git/index',
....
'node_modules/.bin/',
'node_modules/@storybook/',
....
.storybook/
.next/
... 190614 more items ]
This seems like a lot of files that graphcool should not care about! are there any ignore file I can add them to? or a ignore directive in the graphcool.yml file?nilan
11/07/2017, 2:56 PMnilan
11/07/2017, 2:57 PMnode_modules
of the current directory will be bundled before deployingSindre Svendby
11/07/2017, 3:07 PMSindre Svendby
11/07/2017, 3:18 PMpackage.json
with the dependencies that is needed by the resolver functions? (to not upload unneeded libs)nilan
11/07/2017, 3:19 PMnilan
11/07/2017, 3:19 PMgraphcool deploy
, the node_modules
folder is bundled, zipped and deployed 😛Sindre Svendby
11/07/2017, 3:20 PMnilan
11/07/2017, 3:20 PMSindre Svendby
11/07/2017, 3:23 PMSindre Svendby
11/07/2017, 3:38 PMtime
command. I reduced the deploy from right over 7 min to right under 5 sek by doing this!
If things are on top level It takes all the dot folders also, including .git. For me this is a obiuoes performance enchantment
To file and issue on this is the graphcool/framework
the right place?nilan
11/07/2017, 3:48 PM