I have an app.yaml
file in which I want to skip the entire node_modules
directory save for one file I added called helpers.js
. Currently my file looks like this:
runtime: nodejs
vm: true
skip_files:
- ^node_modules$
What's the best way of skipping the entire node_modules
directory except for helpers.js
?
It would appear you can just use a negative lookahead in your regex to do this:
^node_modules/(?!node\.js$).*
*this post may be useful to you also.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With