Skip to content

Commit

Permalink
updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
jleeson committed Dec 10, 2024
1 parent 9951ae2 commit 2f1709c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ This plugins supports three forms of importing css.
```js
import "./styles.css"; /* extract the styles to a external css bundle */
import styles from "./styles.css"; /* import the styles as a string */
import styles from "./styles.css" assert { type: "css" }; /* import the styles as a CSSStyleSheet */
import styles from "./styles.css" with { type: "css" }; /* import the styles as a CSSStyleSheet */
```

NOTICE: using import assertions requires Rollup v3+
NOTICE: using import attributes requires Rollup v3+

If your build uses `preserveModules`, this plugin will process and output your css files while maintaining their original file structure.

Expand All @@ -42,14 +42,14 @@ This plugin respects the import order of your css files.
Type: `array` or `string`
Default: `[]`

A single file, or array of files to include when minifying.
A single file, or array of files to include in the plugins processing.

### exclude

Type: `array` or `string`
Default: `[]`

A single file, or array of files to exclude when minifying.
A single file, or array of files to exclude in the plugins processing.

### output

Expand Down

0 comments on commit 2f1709c

Please sign in to comment.