Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

rollup-plugin-tailwindcss

Package Overview
Dependencies
4
Maintainers
1
Versions
1
Issues
File Explorer

Advanced tools

rollup-plugin-tailwindcss

Bundle Tailwind CSS stylesheet as a Rollup asset

    1.0.0latest

Version published
Maintainers
1
Yearly downloads
6,022
increased by242.35%

Weekly downloads

Readme

Source

rollup-plugin-tailwindcss

Bundle Tailwind CSS stylesheet as a Rollup asset.

Install

npm i --save-dev rollup-plugin-tailwindcss # or yarn add -D rollup-plugin-tailwindcss

Usage

// rollup.config.js import tailwind from 'rollup-plugin-tailwindcss'; export default { plugins: [ tailwind({ input: 'path/to/entry.css', // required // Tailor the emitted stylesheet to the bundle by removing any unused CSS // (highly recommended when packaging for distribution). purge: false, }), ], };

License

MIT

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc