Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 1.14 KB

README.md

File metadata and controls

25 lines (19 loc) · 1.14 KB

@vyg/react-scripts

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 base src directory
  • Ability to import global CSS via either filename of the format *.global.(css|scss) or via the raw query param, ex: import 'other-package/foo.css?raw'

Usage

npx create-react-app --scripts-version=@vyg/react-scripts APP_NAME

How to make changes

  • Makes changes
  • Bump package.json version
  • npm publish

Original react-scripts package

This package includes scripts and configuration used by Create React App.
Please refer to its documentation: