yew/firebase.json
Muhammad Hamza 44e3880c83
Setup hosting for API docs (#2371)
* setup hosting for API docs

* maybe this is the name of the component??

* dependencies make the final bundle too big

* please clippy
2022-01-15 13:21:24 +01:00

46 lines
823 B
JSON

{
"hosting": [
{
"target": "website",
"public": "website/build/",
"cleanUrls": true,
"redirects": []
},
{
"target": "api",
"public": "target/doc/",
"cleanUrls": true,
"redirects": []
},
{
"target": "examples",
"public": "dist",
"rewrites": [
{
"source": "/router/**",
"destination": "/router/index.html"
},
{
"source": "/todomvc/**",
"destination": "/todomvc/index.html"
}
],
"redirects": [
{
"source": "/",
"destination": "https://yew.rs/getting-started/examples",
"type": 302
}
]
}
],
"emulators": {
"hosting": {
"port": 5000
},
"ui": {
"enabled": true
}
}
}