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 3593d6f
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 @@ -27,10 +27,13 @@ export default defineConfig({
<details>
<summary>Rollup</summary><br>

> [!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).
```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 3593d6f

Please sign in to comment.