Concatenate your CSS files when the production environment is set.
npm i --save-dev ember-cli-css-concat
By default, your assets/your-app-name.css
and assets/vendor.css
will be
concatenated and output as assets/your-app-name.css
. If you have other
CSS assets, or a different naming scheme, you can specify the inputFiles
and outputFiles
in your config/environment.js
file:
module.exports = function(environment) {
// ...
var ENV = {
// ...
cssConcat: {
inputFiles: [
'path/to/some/file.css',
'path/to/some/other/file.css'
],
outputFile: 'assets/my-concatenated-css.css'
},
// ...
}
// ...
};
git clone
this repositorynpm install
bower install
ember server
- Visit your app at http://localhost:4200.
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
MIT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted with <3 by John Otander (@4lpine).