1.0.0 • Published 8 years ago

@quadorg/rollup-plugin-sass v1.0.0

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

rollup-plugin-sass

Installation

npm install rollup-plugin-sass

Usage

import { rollup } from 'rollup';
import sass from 'rollup-plugin-sass';

rollup({
    entry: 'main.js',
    plugins: [
        sass()
    ]
}).then(...)

Options

output

Optional. Type: String or Function

If you specify a string, it will be the path to write the generated CSS. If you specify a function, call it passing the generated CSS as an argument.

options

Optional. Type: Object

Options for node-sass.

License

MIT © BinRui.Guan