scotch / angular-brunch-seed

AngularJS + Brunch
Other
228 stars 78 forks source link

components folder not picked up by config.coffee #90

Closed chartotu19 closed 10 years ago

chartotu19 commented 10 years ago

I forked angular-brunch-seed package ~6 months ago when there was no bower support. I now manually installed bower but the config compiler is not picking up the components folder. I changed this line 'js/vendor.js': /^vendor/ to 'js/vendor.js': /^(vendor|components)/

kylefinley commented 10 years ago

I'm not sure what the problem would be. Have you updated your Bruch and Bruch plugins? https://github.com/scotch/angular-brunch-seed/blob/master/package.json#L15

chartotu19 commented 10 years ago

The dependencies seems to be fine except for bower which I manually installed. My issue is how to make brunch pick up another folder along with vendor? I make this change in config.coffee. 'js/vendor.js': /^(vendor|ANOTHER_FOLDER)/

This doesnt seem to work. Any leads/direction where I should look?

Thanks

kylefinley commented 10 years ago

Try upgrading your Brunch to ~1.7. That's when bower support was added. You probably want to update the other Brunch package too.

https://github.com/scotch/angular-brunch-seed/blob/master/package.json#L18

chartotu19 commented 10 years ago

I will do that first. Thanks!