0.0.1 • Published 3 years ago

ember-cli-sass-less v0.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

ember-cli-sass-less

and in the darkness bind them

Combines ember-cli-sass and ember-cli-less into one (somewhat hacky) addon. Mainly to assist in migration from less to sass.

Installation

ember install ember-cli-sass-less

Configuration

Specify the include paths in ember-cli-build.js:

let app = new EmberApp({
  sassOptions: {
    //standard ember-cli-sass options go here
    excludeFiles: [] // `app/styles` files not to be process as sass files
  },
  lessOptions: {
    //standard ember-cli-less options go here
    lessFiles: ['app'], // `app/styles` files to process as less files
    lessSuffix: 'my-suffix' // defaults to `.less`, output name suffix (ex: app --> app.less.css) 
  }
});