Skip to content

Commit c3ec945

Browse files
Timerakstuhl
authored andcommitted
Remove CSS modules docs (facebook#3832)
1 parent 121f195 commit c3ec945

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/react-scripts/template/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ You can find the most recent version of this guide [here](https://github.com/fac
2424
- [Importing a Component](#importing-a-component)
2525
- [Code Splitting](#code-splitting)
2626
- [Adding a Stylesheet](#adding-a-stylesheet)
27-
- [Adding a CSS Modules stylesheet](#adding-a-css-modules-stylesheet)
2827
- [Post-Processing CSS](#post-processing-css)
2928
- [Adding a CSS Preprocessor (Sass, Less etc.)](#adding-a-css-preprocessor-sass-less-etc)
3029
- [Adding Images, Fonts, and Files](#adding-images-fonts-and-files)
@@ -514,6 +513,7 @@ In development, expressing dependencies this way allows your styles to be reload
514513

515514
If you are concerned about using Webpack-specific semantics, you can put all your CSS right into `src/index.css`. It would still be imported from `src/index.js`, but you could always remove that import if you later migrate to a different build tool.
516515

516+
<!---
517517
## Adding a CSS Modules stylesheet
518518
519519
This project supports [CSS Modules](https://github.com/css-modules/css-modules) alongside regular stylesheets using the **[name].module.css** file naming convention. CSS Modules allows the scoping of CSS by automatically creating a unique classname of the format **[dir]\_\_[filename]___[classname]**.
@@ -558,6 +558,7 @@ No clashes from other `.button` classnames
558558
```
559559
560560
**This is an optional feature.** Regular html stylesheets and js imported stylesheets are fully supported. CSS Modules are only added when explictly named as a css module stylesheet using the extension `.module.css`.
561+
--->
561562

562563
## Post-Processing CSS
563564

@@ -1845,7 +1846,7 @@ on a slow or unreliable network.
18451846
18461847
>Note: If you are using the `pushState` history API and want to enable
18471848
cache-first navigations for URLs other than `/` and `/index.html`, please
1848-
[follow these steps](#service-worker-considerations).
1849+
[follow these steps](#service-worker-considerations).
18491850
18501851
### Opting Out of Caching
18511852

0 commit comments

Comments
 (0)