add build netlify command and netlify.toml for token dapp (#302)
This commit is contained in:
parent
ceab1cbac4
commit
b5788379a3
4
apps/token/netlify.toml
Normal file
4
apps/token/netlify.toml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
[[redirects]]
|
||||||
|
from = "/*"
|
||||||
|
to = "/index.html"
|
||||||
|
status = 200
|
@ -65,6 +65,15 @@
|
|||||||
"jestConfig": "apps/token/jest.config.js",
|
"jestConfig": "apps/token/jest.config.js",
|
||||||
"passWithNoTests": true
|
"passWithNoTests": true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"build-netlify": {
|
||||||
|
"builder": "@nrwl/workspace:run-commands",
|
||||||
|
"options": {
|
||||||
|
"commands": [
|
||||||
|
"cp apps/token/netlify.toml netlify.toml",
|
||||||
|
"nx build token"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tags": []
|
"tags": []
|
||||||
|
Loading…
Reference in New Issue
Block a user