Rollup plugin that bundles imported css
Integrates nicely with rollup-plugin-vue2
Installation
npm install --save-dev rollup-plugin-css-only
Usage
// rollup.config.js entry: 'entry.js' dest: 'bundle.js' plugins:
// entry.js
Options
The idea is to keep the options similar to rollup-plugin-sass.
There is 1 option: output
.
By default the plugin will base the filename for the css on the bundle destination.
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Contributions and feedback are very welcome.
To get it running:
- Clone the project.
npm install
npm run build
Credits
License
The MIT License (MIT). Please see License File for more information.