1.0.0 • Published 8 months ago

rollup-tailwind v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

Rollup Tailwind

Bundle Tailwind CSS Stylesheet as a Rollup asset.


MIT License

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 fake@fake.com

Authors

License

MIT

Acknowledgements

1.0.0

8 months ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago