Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vendor CSS files not being compiled for Brunch

Tags:

brunch

I am having an issue with [email protected] not compiling bower_component css files. Similar to Separating app and vendor css in Brunch. Only the css/app.css is getting generated for me. :/

{
  stylesheets: {
    joinTo: {
      'css/app.css': /^app/,
      'css/vendor.css': /^bower_components/
    }
}

Please let me know if I am doing something wrong. All seemed fine when I was using [email protected]. Did the config change with the introduction to bower being built in?

like image 315
nesbert Avatar asked Sep 22 '13 15:09

nesbert


1 Answers

With regards to x-editable, I ran into the failure to include the bower_components css, but found that I simply had to add the specifics in the overrides section of bower.json (since it has multiple library options the main is not included in the .bower.json).

I used the following overrides successfully:

"overrides": {
    "x-editable": {
        "main": [
            "dist/bootstrap3-editable/js/bootstrap-editable.js",
            "dist/bootstrap3-editable/css/bootstrap-editable.css"
        ]
    }
}
like image 155
kross Avatar answered Oct 06 '22 23:10

kross