Socket
Socket
Sign inDemoInstall

rollup-plugin-tailwindcss

Package Overview
Dependencies
115
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rollup-plugin-tailwindcss

Bundle Tailwind CSS stylesheet as a Rollup asset


Version published
Weekly downloads
327
increased by40.95%
Maintainers
1
Install size
4.22 MB
Created
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

FAQs

Last updated on 09 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc