Destination setting doesn't work
w96k opened this issue · 1 comments
w96k commented
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
outputPaths: {
app: {
html: 'index.html',
css: {
'app': '/ember/indacoin-monitoring.css'
},
js: '/ember/indacoin-monitoring.js'
},
vendor: {
css: '/ember/vendor.css',
js: '/ember/vendor.js'
}
},
SemanticUI: {
// These flags allow you do turn on or off auto imports for Semantic UI
import: {
css: true,
javascript: true,
images: false,
fonts: false
},
// These settings allow you to specify the source of the Semantic files
source: {
css: 'bower_components/semantic-ui/dist',
javascript: 'bower_components/semantic-ui/dist',
images: 'bower_components/semantic-ui/dist/themes/default/assets/images',
fonts: 'bower_components/semantic-ui/dist/themes/default/assets/fonts'
},
// These settings allow you to specify the destination of the Semantic files
// This only applies to images and fonts, since those are assets
destination: {
images: 'ember/themes/default/assets/images',
fonts: 'ember/themes/default/assets/fonts'
}
},
sassOptions: {
extension: 'sass'
},
});
// Use `app.import` to add additional libraries to the generated
// output files.
//
// If you need to use different assets in different
// environments, specify an object as the first parameter. That
// object's keys should be the environment name and the values
// should be the asset to use in that environment.
//
// If the library that you are including contains AMD or ES6
// modules that you would like to import into your application
// please specify an object with the list of modules as keys
// along with the exports of each module as its value.
return app.toTree();
};
My setting still copies everything to dist/assets/... instead of dist/ember...
aureliosaraiva commented