Skip to content

voyage/react-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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: