1.0.0 • Published 2 years ago

rollup-tailwind v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years 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

2 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago