Installation - sir-dunxalot/ember-cli-concat GitHub Wiki
ember install ember-cli-concat
Replace the <script>
and <link rel="stylesheet">
tags for vendor
and app-name
in your app
s index.html file with {{content-for 'concat-js'}}
and {{content-for 'concat-css'}}
, respectively:
module.exports = function(defaults) {
var app = new EmberApp(defaults, {
emberCliConcat: {
js: {
concat: true
},
css: {
concat: true
}
}
});
return app.toTree();
};
This addon will add the necessary tags depending on your options setup.
Please note, you should not change the template located at tests/index.html
.