Skip to content

Commit

Permalink
update build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mchuong1 committed Sep 11, 2024
1 parent a6f794e commit 780617b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build]
functions = "functions"
command = 'npm cache clean --force && npm run build'
command = 'CI= npm run build'
publish = 'build'
[[redirects]]
from = "/*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "node ./create-env.js && NODE_OPTIONS='--openssl-legacy-provider' react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "netlify dev"
Expand Down

0 comments on commit 780617b

Please sign in to comment.