Skip to content

Commit 2183f2f

Browse files
add _route.json
1 parent b9622ef commit 2183f2f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

_routes.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"version": 1,
3+
"include": ["/api*"],
4+
"exclude": []
5+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
],
2121
"scripts": {
2222
"develop": "greenwood develop",
23-
"build": "greenwood build",
23+
"build": "greenwood build && cp _routes.json ./public",
2424
"serve": "greenwood serve"
2525
},
2626
"devDependencies": {

0 commit comments

Comments
 (0)