@brikcss/stakcss-bundler-sass

0.2.0 • Public • Published

Stakcss SASS Bundler

Bundler for Stakcss that compiles SASS.

NPM version NPM downloads per month Travis branch NPM version Coverage Status Commitizen friendly semantic release code style: prettier

Install

npm install @brikcss/stakcss @brikcss/stakcss-bundler-sass --save-dev

Usage

Add the bundler to Stakcss and configure like any other bundler:

  • Node:

     stak({
     	bundlers: ['@brikcss/stakcss-bundler-sass']
     });

    or with options and data:

     stak({
     	bundlers: [{
     		run: '@brikcss/stakcss-bundler-sass',
     		options: {}
     	}]
     });
  • CLI:

     stak ... --bundlers=@brikcss/stakcss-bundler-sass

    or with bundlers inside a config file:

     stak --config=<path to config>

Bundler Configuration

Note: From a CLI, you must use a config file (--config=<path>) to configure the bundler.

  • bundler.options {Object} Options passed to SASS. The default options are:

     {
     	data: '',
     	indentType: 'tab',
     	indentWidth: 1,
     	outputStyle: config.isProd ? 'compressed' : 'expanded',
     	outFile: config.output,
     	precision: 5,
     	sourceComments: !config.isProd,
     	sourceMap: !config.isProd
     }

See Stakcss for more on using Stakcss bundlers.

Package Sidebar

Install

npm i @brikcss/stakcss-bundler-sass

Weekly Downloads

0

Version

0.2.0

License

none

Unpacked Size

7.08 kB

Total Files

3

Last publish

Collaborators

  • thezimmee