angularjs - How to make gulp wiredep work on bower scss libraries like susy or normalize? -
i'm trying wireup bower sass libraries susy , normalize-scss don't know how given project structure (meanjs).
i'm using standard mean.js yeoman generator. gulp wiredep sends dependencies /config/assets/default.js looks this:
module.exports = { client: { lib: { css: [ // bower:css 'public/lib/angular-ui-notification/dist/angular-ui-notification.css', 'public/lib/ng-img-crop/compile/minified/ng-img-crop.css', // endbower ], js: [ // bower:js 'public/lib/angular/angular.js', 'public/lib/angular-animate/angular-animate.js', 'public/lib/angular-messages/angular-messages.js', 'public/lib/angular-mocks/angular-mocks.js',
etc etc.
now whenever gulp wiredep
, js files , css files correctly go //bower:js
or //bower:css
. usually, i've worked on scaffolding .scss resides in app/main.scss , bower inject there properly. kind of project structure, how let bower inject //bower:scss
scss file (e.g. @import ../../.._something.scss
)?
in meanjs project structure, everything's in module folder structure looks this:
modules --core --client --app --config --controllers --css --scss
etc
or way manually importing on scss file per module?
thanks!
Comments
Post a Comment