xgqfrms / app-node-env

APP_ENV & one cli tools for customize env of APP
https://app-node-env.xgqfrms.xyz
MIT License
3 stars 0 forks source link

React & custom-environment-variables #3

Open xgqfrms opened 5 years ago

xgqfrms commented 5 years ago

React & custom-environment-variables

https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables

REACTAPP

image

bin

react-scripts

create-react-app/packages/react-scripts/bin/react-scripts.js

xgqfrms commented 5 years ago

create-react-app eject webpack

https://github.com/facebook/create-react-app/issues/4786


get all cli env infos

$ npx create-react-app --info

$ react-native info 

$ vue info 

# ???
$ react info

https://www.cnblogs.com/xgqfrms/p/10903828.html

https://github.com/facebook/react/issues/15703

xgqfrms commented 5 years ago

https://img.shields.io/badge/website-xgqfrms.xyz-brightgreen.svg