Created
November 20, 2014 16:36
-
-
Save gordonbisnor/e719c95b2e690a9b8903 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
this is what i have in brocfile.js: | |
*/ | |
app.import('bower_components/bootstrap-sass- official/assets/javascripts/bootstrap.js') ; | |
// Put the bootstrap fonts in the place that the bootstrap css expects to find them. | |
var pickFiles = requi re('broccoli-static-compiler'); | |
var bootstrapFonts = pickFiles('bower_components/bootstrap-sass - official/assets/fon ts/bootstrap', { | |
srcDir: '/', | |
destDir: '/f onts/bootstrap' | |
}); | |
// Merge the bootstrapFonts with the ember app tree | |
var mergeTrees = require('broccoli-merge-trees'); | |
module.exports = mergeTrees([app.toTree(),bootstrapFonts]); | |
/* | |
this is what i have in bower.json: | |
*/ | |
"bootstrap-sass-official": "~3.2.0+2", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment