ember-cli-sass-less

v0.0.1
Combines ember-cli-sass & ember-cli-less into one two. Mainly for migration to sass
ember-addon sass less

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) 
  }
});
npm i ember-cli-sass-less

Metadata

  • MIT
  • >= 10.*
  • Jon Kilroy
  • released 11/15/2020

Downloads

Maintainers