1.3.3 • Published 10 years ago

enb-sass v1.3.3

Weekly downloads
3
License
-
Repository
github
Last release
10 years ago

enb-sass npm version node-sass supports version Build Status Dependency Status

Provides the node-sass features for project-builder enb (https://github.com/enb-make/enb).

Installing

npm install enb-sass --save

Options

  • String target contains target file name. Default: ?.css
  • String filesTarget contains file masks, according to which a list of source files is created. Default: ?.files.
  • Array sourceSuffixes Files suffixes that will be used. Default: css
  • Object sass node-sass options. Read more: https://github.com/sass/node-sass#options. Default: default node-sass options.

Usage

Default use

nodeConfig.addTech([
  require('enb-sass')
]);

Collecting only scss files

nodeConfig.addTech([
  require('enb-sass'), {
    target: '?.css',
    sourceSuffixes: ['scss']
  }
]);

Use node-sass compression and debug mode

nodeConfig.addTech([
  require('enb-sass'), 
  {
    target: '?.css',
    sourceSuffixes: ['scss'],
    sass: {
      outputStyle: 'compressed',
      sourceComments: true
    }
  }
]);

Collecting ie and ie8 css/scss files with node-sass compression and debug mode

nodeConfig.addTech([
  require('enb-sass'), 
  {
    target: '?.css',
    sourceSuffixes: ['css', 'scss', 'ie.css', 'ie.scss', 'ie8.css', 'ie8.scss'],
    sass: {
      outputStyle: 'compressed',
      sourceComments: true
    }
  }
]);

Used in

Thanks

  • Abramov Andrew (@blond). For the support and correct answers.
  • Filatov Dmitry (@dfilatov). For vow, vow-fs, inherit.
  • Georgy Krasulya (@gkrasulya). For rich error reporting.
1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.0

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago