github.com/djenriquez/nomad-1@v0.8.1/ui/lib/bulma/index.js (about) 1 /* eslint-env node */ 2 'use strict'; 3 4 var path = require('path'); 5 var Funnel = require('broccoli-funnel'); 6 7 module.exports = { 8 name: 'bulma', 9 10 isDevelopingAddon: function() { 11 return true; 12 }, 13 14 included: function(app) { 15 this._super.included.apply(this, arguments); 16 17 // see: https://github.com/ember-cli/ember-cli/issues/3718 18 while (typeof app.import !== 'function' && app.app) { 19 app = app.app; 20 } 21 22 this.bulmaPath = path.dirname(require.resolve('bulma')); 23 return app; 24 }, 25 26 treeForStyles: function() { 27 return new Funnel(this.bulmaPath, { 28 srcDir: '/', 29 destDir: 'app/styles/bulma', 30 annotation: 'Funnel (bulma)', 31 }); 32 }, 33 };