cc-react-scripts v1.5.3
cc-react-scripts
This package includes scripts and configuration used by Clear Capital for Create React App.
Breaking changes:
babel-plugin-react-css-modules
This boilerplate adds support for CSS-Modules with a scss
flavor.
What this means:
1. All imported .scss
files are by default treated as local modules.
2. Styles are applied slightly differently. PLEASE refer to the docs: https://github.com/gajus/babel-plugin-react-css-modules#example-transpilations
How it works in cc-react-scripts:
1. Webpack is set up to convert all class names within scss
files to the hashed name.
2. Babel reads the styleName
attribute within js
files, and converts them to the hashed name.
3. Since the js and the css classes now match, the styles get applied.
Please refer to the original documentation for everything else:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago