Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 31, 2024
1 parent 57317ae commit c56ec52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

Lightning CSS integration for Vite, Rollup, esbuild, Webpack, Vue CLI, and more.

> [!TIP]
> Since Rollup does not support CSS out of the box, you need to use a CSS plugin like [`rollup-plugin-css-only`](https://github.com/thgh/rollup-plugin-css-only).
## Installation

```bash
Expand All @@ -29,8 +32,8 @@ export default defineConfig({

```ts
// rollup.config.js
import LightningCSS from 'unplugin-lightningcss/rollup'
import css from 'rollup-plugin-css-only'
import LightningCSS from 'unplugin-lightningcss/rollup'

export default {
plugins: [LightningCSS(), css()],
Expand Down

0 comments on commit c56ec52

Please sign in to comment.