File tree Expand file tree Collapse file tree 2 files changed +13
-17
lines changed
Expand file tree Collapse file tree 2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change 33SKIP_PREFLIGHT_CHECK = true
44
55//the variable declaration should start with REACT_APP_
6- //Eg:-REACT_APP_ENV=development
7-
8- REACT_APP_NKB_BASE_URL = https://nkb-backend-10xiitian-staging-apis.ibhubs.in/api/
9-
10- REACT_APP_GTM_ID = GTM-TT9MHTQ
11-
12- REACT_APP_GOOGLE_SITE_VERIFICATION = ' '
13-
14- REACT_APP_USERSNAP_ID = ' '
15-
16- REACT_APP_SEGMENT_ID = 9HHiENJNjKhD6JdpJVegnRLkWqwyvToR
17-
18- REACT_APP_SENTRY_KEY = https://[email protected] /1852258 19-
20- REACT_APP_ONE_SIGNAL_APP_ID = 997515ae-d139-4fcd-992f-e520a8522cdc
21-
22- REACT_APP_PROGRAM_SLUGS_URL = https://nkb-backend-media-static-tenxiitian.s3.ap-south-1.amazonaws.com/tenxiitian_prod/website-static/jsons/staging/slugs.json
6+ //Eg:-REACT_APP_ENV=development
Original file line number Diff line number Diff line change @@ -59,3 +59,15 @@ This is the build which we push to `production` environment. Run below command t
5959```
6060yarn build:master
6161```
62+
63+ If you want to customize any of the above build commands, you need to modify npm scripts written in ` package.json ` .
64+
65+ ```
66+ {
67+ "build": "GENERATE_SOURCEMAP=false react-scripts build",
68+ "build:beta": "set \"CI=false\" && env-cmd -f .env.beta yarn build",
69+ "build:gamma": "set \"CI=false\" && env-cmd -f .env.gamma yarn build",
70+ "build:staging": "set \"CI=false\" && env-cmd -f .env.staging yarn build",
71+ "build:master": "set \"CI=false\" && env-cmd -f .env.production yarn build",
72+ }
73+ ```
You can’t perform that action at this time.
0 commit comments