-
Notifications
You must be signed in to change notification settings - Fork 38
A page for explaining the reasoning behind code or design decisions that seem strange at first glance.
Besides hinting and testing JavaScript, what the hell is grunt doing?
Third party libraries, like angular and others, are installed with npm and bundled through grunt tasks. I've basically decided to rely on npm for what bower how was intended, since
a) Pretty much all bower packages are now available for npm
b) Bower sucks in automation
So scripts and stylesheets are installed with npm, then
-
browserifygrabs all the needed JavaScripts (including globals referenced instatic/js/globals.js) and creates a singlevendor.min.js -
cssmindoes the same for external stylesheets -
copycopies anything else needed
What is going on with the font-awesome regex stuff?
Font-Awesome expects its fonts directory to be in ../fonts. I didn't want to make a special top level folder just for their decision, so I have this hacky grunt task that replaces the path with my own location.