feat: Add netlify PR preview
Signed-off-by: ErikQQY <2283984853@qq.com>
This commit is contained in:
parent
a23847ee97
commit
60b27ef015
|
@ -0,0 +1,3 @@
|
|||
[build]
|
||||
publish = "build/"
|
||||
command = "npm run build-localhost"
|
|
@ -35,6 +35,7 @@
|
|||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"build-localhost": "PUBLIC_URL=/ react-scripts build",
|
||||
"test": "react-scripts test --env=jsdom",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint . --ext .js,.ts,.tsx",
|
||||
|
|
Loading…
Reference in New Issue