rollup-tailwind
v1.0.0
Published
Bundle Tailwind CSS Stylesheet as a Rollup asset.
Downloads
12
Maintainers
Readme
Rollup Tailwind
Bundle Tailwind CSS Stylesheet as a Rollup asset.
Installation
Install @logiclabs/rollup-tailwind with npm
npm i -D @logiclabs/rollup-tailwind # yarn add -D @logiclabs/rollup-tailwind
Usage/Examples
//rollup.config.js
import tailwind from 'rollup-plugin-tailwind';
export default {
...
plugins: [
tailwind({
input: path/to/entry.css,
...
// Tailor the emitted stylesheet to the bundle by removing any unused css
// (hightly recommended when packaging for distribution).
purge: false,
}),
],
...
};
Contributing
Contributions are always welcome!
Running Tests
To run tests, run the following command
npm run test
Feedback
If you have any feedback, please reach out to us at [email protected]
Authors
License
Acknowledgements
- Inspired by rollup-plugin-tailwindcss
- created by @Henry-Pulver