5.0.1-forked.7 • Published 2 years ago
react-scripts-more-than-less v5.0.1-forked.7
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.
3. classnames-loader
Add one line in your .env.*
files.
CLASSNAMES_LOADER = true
The default values is false
.
5.0.1-forked.1
2 years ago
5.0.1-forked.7
2 years ago
5.0.1-forked.6
2 years ago
5.0.1-forked.2
2 years ago
5.0.1-forked.5
2 years ago
5.0.1-forked.4
2 years ago
4.0.3-forked.2
3 years ago
4.0.1-forked.1
4 years ago