0.0.4 • Published 6 months ago

bun-plugin-tailwindcss v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

bun-plugin-tailwindcss

About

This is a Bun plugin that enables support for TailwindCSS. As custom CSS loaders are not yet supported by Bun (as of September 2023), this plugin intercepts imports for .css files and processes them using postcss. The resulting code is minified and injected into the document head with JavaScript.

Install

bun add --dev bun-plugin-tailwindcss

Usage

To enable the plugin, simply import it and add it to your build script. An example with React SRR is provided in the example directory.

0.0.4

6 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago