在Google App Engine app.yaml中反转skip_files

Rem*_*ing 4 google-app-engine

我目前skip_files在app.yaml中有以下内容:

skip_files:
- ^\..*
- ^.*\.(json|yaml)$
- ^Gruntfile\.js$
- ^bower_components
- ^node_modules
- ^src
- ^tests
- ^tmp
Run Code Online (Sandbox Code Playgroud)

这非常臃肿.实际上我只想添加一切到文件夹中的skip_files所有内容dist.

这可能吗?

小智 8

这对我有用:

skip_files:
- (?!^dist)
Run Code Online (Sandbox Code Playgroud)