2016-05-21 62 views
3

我有一個app.yaml文件,其中我想跳過整個node_modules目錄保存我添加的一個文件名爲helpers.js。目前我的文件看起來像這樣:app.yaml skip_files跳過整個目錄,但跳過一個單獨的文件

runtime: nodejs 
vm: true 
skip_files: 
- ^node_modules$ 

什麼是跳過整個node_modules目錄除了helpers.js的最佳方式?

+0

我不清楚你在問什麼。 – sweaver2112

+0

@ sweaver2112我要求的是一個正則表達式,它將排除'node_modules'目錄下的所有文件,除了'helpers.js'外。 –

回答