Skip to content

Commit

Permalink
fix: readme syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jleeson committed Mar 4, 2023
1 parent 85641f8 commit 506e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ 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" assert { type: "css" }; /* import the styles as a CSSStyleSheet */
```

NOTICE: using import assertions requires Rollup v3+
Expand Down

0 comments on commit 506e205

Please sign in to comment.