Skip to content

Commit 441a18a

Browse files
committed
copy script added
1 parent fb34a6a commit 441a18a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
},
1515
"scripts": {
1616
"start": "react-scripts start",
17-
"build": "react-scripts build",
17+
"build": "react-scripts build && cp ./build/index.html ./build/404.html",
1818
"test": "react-scripts test --env=jsdom",
19-
"eject": "react-scripts eject",
20-
"postbuild": "node postbuild.js"
19+
"eject": "react-scripts eject"
2120
},
2221
"browserslist": [
2322
">0.2%",

0 commit comments

Comments
 (0)