add build netlify command and netlify.toml for token dapp (#302)

This commit is contained in:
Matthew Russell 2022-04-26 07:32:23 -07:00 committed by GitHub
parent ceab1cbac4
commit b5788379a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

4
apps/token/netlify.toml Normal file
View File

@ -0,0 +1,4 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200

View File

@ -65,6 +65,15 @@
"jestConfig": "apps/token/jest.config.js",
"passWithNoTests": true
}
},
"build-netlify": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"cp apps/token/netlify.toml netlify.toml",
"nx build token"
]
}
}
},
"tags": []