Comments (1)
I've run into a need for this myself, but in my case only due to attempting to workaround another issue I have, which is I'm at the mercy of some of my project's poorly organized dependencies. Because of some hard coded paths in them, I unfortunately need to both keepExpandedHierachy and not for some files in a single package (and also send them to different destinations).
E.g., I have a package foo that has a font-awesome/dist/fonts/* that need to go to .tmp/public/vendor/font-awesome, along w/ some other flattened assets that go to another location (which I do with dest and fonts_dest, which was convenient).
But within foo I also have some assets in fonts and images that I don't want flattened that need to go to .tmp/public/vendor/foo.
Since grunt-bower doesn't appear to support Grunt's files array format, I was unable to represent these separate destinations and properties within a single package, so I was attempting to work around it by creating a separate target to include just the latter portion of the copying for this problematic module and ignore all others, but can't due to the lack of this type of property (and lack of support for a wildcard in ignorePackages - I attempted ignorePackages: ['*']).
from grunt-bower.
Related Issues (20)
- Unable to maintain folder structure from root of package directory HOT 11
- expand: false seems broken 0.14.2 upwards HOT 2
- Problems with relative paths for packages with single files HOT 2
- Version 0.15.1+ no longer works in SailsJS HOT 3
- bootstrap.less import problem
- Windows path not supported
- dest not working (windows) HOT 1
- Copying packages defined in `packageSpecific` fails silently
- ignorePackages should allow for typical regex
- Let also *.min.js and *.min.js.map files be copied by default (configurable by option) HOT 3
- images_dest HOT 3
- Ignore devDependencies HOT 1
- Specify bower location HOT 1
- [filetype]_dest options ignored after upgrading to 0.21.1 HOT 1
- override the .local directory HOT 2
- Problem with graceful-fs HOT 3
- jquery-validation doesn't get copied HOT 4
- Add support for Files Array Format in packageSpecific.files to Allow for Additional Single Package Flexibility
- font-awesome font folder not copying over
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-bower.