@coderesque/rollup-plugin-style
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @coderesque/rollup-plugin-style

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

21.4 kB

Total Files

22

Last publish

Collaborators

  • mrydengren