# How to exclude certain bower component CSS during build

**URL:** <https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981>\
**Category:** Ember CLI\
**Created:** [May 16, 2017, 11:26am UTC](https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981 "2017-05-16T11:26:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunkumar\_V](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/arunkumar_v/32/11641_2.png) [@Arunkumar\_V](https://discuss.emberjs.com/u/Arunkumar_V)\
**Post date:** [May 16, 2017, 11:26am UTC](https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981/1 "2017-05-16T11:26:52Z")

</div>

how to exclude certain bower component CSS during build

---

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [May 16, 2017, 4:32pm UTC](https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981/2 "2017-05-16T16:32:34Z")

</div>

I did this:

> <https://github.com/martinic/ember-cli-bootstrap-css/blob/master/index.js#L10>

---

<div class="post-metadata">

**Author:** ![Arunkumar\_V](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/arunkumar_v/32/11641_2.png) [@Arunkumar\_V](https://discuss.emberjs.com/u/Arunkumar_V)\
**Post date:** [May 24, 2017, 12:44pm UTC](https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981/3 "2017-05-24T12:44:20Z")

</div>

Thanks for the response. I am not clear with the solution. I will explain my problem. I have added xyz bower component will do ember build all the css and js are moved to vendor.css and vendor.js now i need to exclude xyz component css form the vendor.css during build. How would i exculde that particular css

---

<div class="post-metadata">

**Author:** ![broerse](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/broerse/32/9497_2.png) [@broerse](https://discuss.emberjs.com/u/broerse)\
**Post date:** [May 24, 2017, 6:46pm UTC](https://discuss.emberjs.com/t/how-to-exclude-certain-bower-component-css-during-build/12981/4 "2017-05-24T18:46:33Z")

</div>

I understand now 😉 I think [GitHub - rwjblue/broccoli-file-remover](https://github.com/rwjblue/broccoli-file-remover) should work for this but I never tried.
