A
build:production": "cross-env ENV_FILE=production react-scripts build",Size: a a a
A
build:production": "cross-env ENV_FILE=production react-scripts build",A
ЮЧ
ENV_FILE?A
ЮЧ
ЮЧ
npm run build подтягивает .env.production, а на npm start, .env.development.ЮЧ
A
ЮЧ
ЮЧ
ENV_FILE на NODE_ENV.ЮЧ
A
ЮЧ
ЮЧ
A
A
A
C
ЮЧ
ЮЧ
const crud = axios.create(...), const auth = axios.create(...).