Skip to content

Commit c51bf74

Browse files
authored
Update RAC starter README to include how to support CSS Nesting in prouction (#5746)
1 parent cc4d121 commit c51bf74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

starters/docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ To get started, run the following commands:
88
yarn
99
yarn storybook
1010
```
11+
12+
## Building for Production
13+
14+
This starter uses [CSS Nesting](https://drafts.csswg.org/css-nesting/), which is supported in the latest version of all major browsers, but if further support is needed, you can compile this to flattened selectors by enabling the feature in [Lightning CSS](https://lightningcss.dev/docs.html) or using the [PostCSS Nesting](https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-nesting#usage) plugin in your build.

0 commit comments

Comments
 (0)