【发布时间】:2015-01-31 17:52:55
【问题描述】:
使用 node.js globbing,我想在任何子目录下匹配某个路径。我希望我的代码示例比我的措辞更清晰:
app/themes/*/images/icons/**/*.png
所以,想象一下:
app
|-- themes
| |-- theme1
| | `-- images
| | `-- icons
| | `-- home-icon.png
| `-- theme2
| `-- images
| `-- icons
| `-- home-icon.png
它应该在 theme1 和 theme2 中都匹配 home-icon.pngs。
【问题讨论】:
标签: javascript node.js gruntjs gulp glob