Another fork of the Create React App
Based on Create React App tag: react-scripts@5.0.1
Usage
npx create-react-app --scripts-version react-scripts-more-than-less myapp`
Typescript
npx create-react-app --scripts-version react-scripts-more-than-less --template typescript myapp`
Then have to do more work, because there is a bug.
MacOS
sed -i'' -e 's/react-scripts/react-scripts-more-than-less/g' src/react-app-env.d.ts
Linux
sed -i 's/react-scripts/react-scripts-more-than-less/g' src/react-app-env.d.ts
Additional Features
1. Support Less
2. Enable style file extension regex customization.
CSS_REGEX =
CSS_MODULE_REGEX =
SASS_REGEX =
SASS_MODULE_REGEX =
LESS_REGEX =
LESS_MODULE_REGEX = \.(m|module)\.less$
You need not put all of them in to your .env.*
files. Configure it as you need.
classnames-loader
3.
Add one line in your .env.*
files.
CLASSNAMES_LOADER = true
The default values is false
.