Skip to content

Commit 503c52c

Browse files
committed
add redirects for download
1 parent d67f4cf commit 503c52c

File tree

3 files changed

+1158
-1434
lines changed

3 files changed

+1158
-1434
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
.pnp.js
77

88
.idea
9-
9+
_redirects.local
1010

1111
# testing
1212
/coverage

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"scripts": {
2525
"start": "react-app-rewired start",
2626
"build": "react-app-rewired build",
27+
"postbuild": "cp ./_redirects.local ./build/_redirects",
2728
"test": "react-app-rewired test",
2829
"eject": "react-app-rewired eject",
2930
"plop": "plop"
@@ -44,7 +45,7 @@
4445
"babel-plugin-import": "^1.11.0",
4546
"babel-plugin-inline-react-svg": "^1.0.1",
4647
"babel-plugin-styled-components": "^1.8.0",
47-
"customize-cra": "^0.2.13",
48+
"customize-cra": "^0.9.1",
4849
"prettier": "^1.18.2",
4950
"react-app-rewire-hot-loader": "^2.0.1",
5051
"react-app-rewired": "^2.1.4",

0 commit comments

Comments
 (0)