This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

react-scripts-more-than-less
TypeScript icon, indicating that this package has built-in type declarations

5.0.1-forked.7 • Public • Published

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

See classnames-loader

Add one line in your .env.*files.

CLASSNAMES_LOADER = true

The default values is false.

Readme

Keywords

none

Package Sidebar

Install

npm i react-scripts-more-than-less

Weekly Downloads

0

Version

5.0.1-forked.7

License

MIT

Unpacked Size

119 kB

Total Files

24

Last publish

Collaborators

  • hanzhixing