scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

css files from main property are not included to app.css by default #84

Closed fijolekProjects closed 10 years ago

fijolekProjects commented 10 years ago

Like title says. I had to add bower_components in config.coffee in joinTo section to include css files to my app.css.

kylefinley commented 10 years ago

Which bower package where you having problems with?

Brunch uses the .bower.json file's main attribute to determine which css / js files to load example. If the package you are attempting to use does not have a `main attribute you can add it manually. here's a bad example, but shows the concept

fijolekProjects commented 10 years ago

Writing "main property" I meant main property from bower.json. I'm aware of override feature, but still css files are not included to project. I had to add bower_component in config.coffee like this:

stylesheets:
      joinTo:
        'css/app.css': /^(app|vendor|bower_components)/
kylefinley commented 10 years ago

Ah, I hadn't' run into this yet. Thanks for the fix @fijolekProjects

fijolekProjects commented 10 years ago

You're welcome. Keep this project up!