1.0.5 • Published 5 years ago

@coderesque/rollup-plugin-style v1.0.5

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@coderesque/rollup-plugin-style

Extract styles and write it to separate file

Extracts SCSS and CSS using node-sass and postcss with autoprefixer and cssnano.

Install

yarn add --exact @coderesque/rollup-plugin-style

Usage

Include it as a plugin in your rollup.config.js.

import rollupPluginStyle from '@coderesque/rollup-plugin-style';

module.exports = {
    // ...
    plugins: [
        rollupPluginStyle(),
    ],
};

Note

This library is being published with our use cases in mind and is not necessarily meant to be consumed by the broader public. We probably won't take your feature requests unless they align with our own needs.

License

MIT