我想复制完整的文件夹结构(没有一级文件)的保龄球组件到我的网页项目。
源项目的结构如下所示:
bower_components/roboto-fontface-bower/css/
bower_components/roboto-fontface-bower/fonts/
bower_components/roboto-fontface-bower/.bower.json
bower_components/roboto-fontface-bower/bower.json
bower_components/roboto-fontface-bower/LICSENSE
bower_components/roboto-fontface-bower/package.json
bower_components/roboto-fontface-bower/README.md我想得到文件夹css (包含文件)和fonts (包含文件)。
我当前的小舱口模式是:
"bower_components/roboto-fontface-bower/**"
使用我当前的模式,文件.bower.json、bower.json等也会被复制,这正是我不想要的。我如何才能得到这两个文件夹(css和字体)?
我试过"bower_components/roboto-fontface-bower/{css/,fonts/}",但这个没有复制。
发布于 2019-01-04 15:54:10
试试bower_components/roboto-fontface-bower/{css,fonts}/*
您可以使用globster.xyz进行测试。
https://stackoverflow.com/questions/30406882
复制相似问题