Skip to content

Commit 44e1ebd

Browse files
committed
Testing without the build:netlify command
1 parent 2893edc commit 44e1ebd

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

netlify.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,26 @@
66
[build]
77
base = ""
88
publish = "build"
9-
command = "REACT_APP_STAGE=dev npm run build:netlify"
9+
command = "REACT_APP_STAGE=dev npm run build"
1010

1111
# Production context: All deploys to the main
1212
# repository branch will inherit these settings.
1313
[context.production]
14-
command = "REACT_APP_STAGE=prod npm run build:netlify"
14+
command = "REACT_APP_STAGE=prod npm run build"
1515

1616
# Deploy Preview context: All Deploy Previews
1717
# will inherit these settings.
1818
[context.deploy-preview]
19-
command = "REACT_APP_STAGE=dev npm run build:netlify"
19+
command = "REACT_APP_STAGE=dev npm run build"
2020

2121
# Branch Deploy context: All deploys that are not in
2222
# an active Deploy Preview will inherit these settings.
2323
[context.branch-deploy]
24-
command = "REACT_APP_STAGE=dev npm run build:netlify"
24+
command = "REACT_APP_STAGE=dev npm run build"
2525

2626
# Always redirect any request to our index.html
2727
# and return the status code 200.
2828
[[redirects]]
2929
from = "/*"
3030
to = "/index.html"
31-
status = 200
31+
status = 200

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"start": "react-scripts start",
1717
"build": "react-scripts build",
1818
"test": "react-scripts test --env=jsdom",
19-
"build:netlify": "npm run build",
2019
"eject": "react-scripts eject"
2120
}
2221
}

0 commit comments

Comments
 (0)