Hi,

You should use the skip_files attribute of app.yaml to skip the
node_modules folder. For example:
skip_files:
  - ^.*node_modules(/.*)?

We are later going to introduce a new mechanism soon, using a .gcloudignore
file.

On Mon, Mar 19, 2018 at 6:25 AM John White <[email protected]> wrote:

> Hi all
> I noticed that every time I ran `gcloud app deploy`, it has to upload a
> .tgz with all files, including node_modules. AFAIK this is recreated in the
> server, so it's pointless to upload it. So I added the folder to the
> exclusion list, and it became way faster.
>
> It's hard to find any doc on this, but shouldn't this folder be already
> excluded when deploying? Is it a good thing to exclude it?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/24404191-0f9d-4058-b4cc-0e42fb009e63%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/24404191-0f9d-4058-b4cc-0e42fb009e63%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CANHKq5EZx3JjmC5_kBmutYLx1za63uGQQE3rWR3FLZ1WzHkomg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to