We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f5fdd2 commit 8ffe055Copy full SHA for 8ffe055
examples/basic-fetch/now.json
@@ -0,0 +1,9 @@
1
+{
2
+ "version": 2,
3
+ "builds": [{ "src": "package.json", "use": "@now/static-build" }],
4
+ "routes": [
5
+ { "src": "^/static/(.*)", "dest": "/static/$1" },
6
+ { "src": "^/favicon.ico", "dest": "/favicon.ico" },
7
+ { "src": "^/(.*)", "dest": "/index.html" }
8
+ ]
9
+}
examples/basic-fetch/package.json
@@ -11,8 +11,7 @@
11
"scripts": {
12
"start": "react-scripts start",
13
"build": "react-scripts build",
14
- "test": "react-scripts test",
15
- "eject": "react-scripts eject"
+ "now-build": "npm run build && mv build dist"
16
},
17
"eslintConfig": {
18
"extends": "react-app"
0 commit comments