Skip to content

johno/ember-cli-css-concat

Repository files navigation

CSS Concat

Concatenate your CSS files when the production environment is set.

Installation

npm i --save-dev ember-cli-css-concat

Usage

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'
    },

    // ...
  }

  // ...
};

Development

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

License

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).

About

[WIP] Concatenate your CSS when the environment is set to production.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published