This is "forked" from Facebook's react-scripts
v2.0.4 to customize our version of create-react-app
. It contains the following changes:
- Add
sass-mq
- Remove service-worker
- Add support for babel-plugin-react-css-modules
- Add support for decorators
- Add module resolver to resolve
~
to basesrc
directory - Ability to import global CSS via either filename of the format
*.global.(css|scss)
or via theraw
query param, ex:import 'other-package/foo.css?raw'
npx create-react-app --scripts-version=@vyg/react-scripts APP_NAME
- Makes changes
- Bump package.json version
npm publish
This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.