@reboost/plugin-sass
TypeScript icon, indicating that this package has built-in type declarations

0.21.0 • Public • Published

npm license

Sass Plugin

Transform Sass/SCSS files to CSS on the fly.

Usage

Setup

Install it using npm

npm i -D @reboost/plugin-sass

Install node-sass or sass (whichever you like), if not installed

npm i node-sass

or

npm i sass

Import it from the package

const { start } = require('reboost');
const SassPlugin = require('@reboost/plugin-sass');

Add it to the plugins array

const { start } = require('reboost');
const SassPlugin = require('@reboost/plugin-sass');

start({
  plugins: [
    SassPlugin({
      // Options
    })
  ]
})

Require file in your code

import './styles.scss';

Options

sassOptions

Type: Sass.Options | object

Options to use when rendering Sass/SCSS files. You can read about all Sass options in node-sass's npm package page.

License

Licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i @reboost/plugin-sass

Weekly Downloads

1

Version

0.21.0

License

MIT

Unpacked Size

9.14 kB

Total Files

6

Last publish

Collaborators

  • sarsamurmu