{ "hosting": { "public": "website/build", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], "rewrites": [ { "source": "/copyright", "destination": "/copyright.html" }, { "source": "/privacy", "destination": "/privacy.html" }, { "source": "/jj", "destination": "/index.html" }, { "source": "/pb", "destination": "/index.html" }, { "source": "/md", "destination": "/index.html" }, { "source": "/jj/**", "destination": "/index.html" }, { "source": "/pb/**", "destination": "/index.html" }, { "source": "/md/**", "destination": "/index.html" }, { "source": "**", "destination": "/404.html" } ] }, "functions": { "predeploy": [ "npm --prefix \"$RESOURCE_DIR\" run lint", "npm --prefix \"$RESOURCE_DIR\" run build" ], "source": "functions" }, "emulators": { "functions": { "port": 5001 }, "firestore": { "port": 8080 }, "hosting": { "port": 5000 }, "ui": { "enabled": true } } }