1.8.8 • Published 5 months ago

rollup-plugin-stormcss v1.8.8

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

rollup-plugin-stormcss

Storm CSS for Rollup! ⚡️ ️️

Features

  • ⚡️ Fast
  • 🧩 On-demand CSS utilities (Compatible with Tailwind CSS v2)
  • 📦 On-demand native elements style reseting
  • 🍃 Load configurations from tailwind.config.js
  • 🤝 Framework-agnostic - Kdu, React, Hamber and vanilla!
  • 📄 CSS @apply / @screen directives transforms (also works for Kdu SFC's <style>)
  • 🎳 Support Utility Groups - e.g. bg-gray-200 hover:(bg-gray-100 text-red-300)

Install

npm i rollup-plugin-stormcss -D # yarn add rollup-plugin-stormcss -D
// rollup.config.js
import StormCSS from 'rollup-plugin-stormcss'

export default {
  plugins: [
    ...StormCSS(),
  ],
}
// your code entry
import 'virtual:storm.css'

That's all.

License

MIT License