austinpray / asset-builder

assembles and orchestrates your dependencies so you can run them through your asset pipeline.
http://use-asset-builder.austinpray.com
MIT License
181 stars 30 forks source link

Adding bower package to a secondary file without having it removed from main? #66

Open christianmagill opened 8 years ago

christianmagill commented 8 years ago

How can I add a bower package to a secondary file without having it removed from the main file?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36156436-adding-bower-package-to-a-secondary-file-without-having-it-removed-from-main?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F8853550&utm_medium=issues&utm_source=github).
eballeste commented 7 years ago

on the secondary file include the bower js in a vendor object

...
"secondary.js": {
    "vendor": [
        "../bower_components/package/package.js"
    ]
},
...

this works for js files but does not want to work for css files.