{"id":12731,"plugin_id":"plugins_6a8ddf314ab88191864c208fda197798","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T23:02:05.954Z","digest":"21b6533c7aec7e3540f1c73047f974e4da39f349be53148e00aecc382871179f","against":null,"payload":{"name":"firebase-hosting-basics","description":"Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.","included_files":[{"relative_path":"references/configuration.md","size_in_bytes":1832},{"relative_path":"references/deploying.md","size_in_bytes":1201}],"skill_md_contents":"---\nname: firebase-hosting-basics\ndescription: >-\n  Deploys and configures classic Firebase Hosting for static websites, single-page apps (SPAs), and microservices. Use when deploying static sites/SPAs, setting up custom domains, configuring firebase.json hosting settings (redirects, rewrites, headers, multi-site), or managing preview channels. Don't use for Firebase App Hosting (Next.js/SSR), Auth, Firestore queries/rules, Data Connect, or Crashlytics.\nmetadata:\n  category: Serverless\n---\n\n# hosting-basics\n\nThis skill provides instructions and references for working with Firebase\nHosting, a fast and secure hosting service for your web app, static and dynamic\ncontent, and microservices.\n\n## Overview\n\nFirebase Hosting provides production-grade web content hosting for developers.\nWith a single command, you can deploy web apps and serve both static and dynamic\ncontent to a global CDN (content delivery network).\n\n**Key Features:**\n\n- **Fast Content Delivery:** Files are cached on SSDs at CDN edges around the\n  world.\n- **Secure by Default:** Zero-configuration SSL is built-in.\n- **Preview Channels:** View and test changes on temporary preview URLs before\n  deploying live.\n- **GitHub Integration:** Automate previews and deploys with GitHub Actions.\n- **Dynamic Content:** Serve dynamic content and microservices using Cloud\n  Functions or Cloud Run.\n\n## Hosting vs App Hosting\n\n**Choose Firebase Hosting if:**\n\n- You are deploying a static site (HTML/CSS/JS).\n- You are deploying a simple SPA (React, Vue, etc. without SSR).\n- You want full control over the build and deploy process via CLI.\n\n**Choose Firebase App Hosting if:**\n\n- You are using a supported full-stack framework like Next.js or Angular.\n- You need Server-Side Rendering (SSR) or ISR.\n- You want an automated \"git push to deploy\" workflow with zero configuration.\n\n## Instructions\n\n### 1. Configuration (`firebase.json`)\n\nFor details on configuring Hosting behavior, including public directories,\nredirects, rewrites, and headers, see\n[configuration.md](references/configuration.md).\n\n### 2. Deploying\n\nFor instructions on deploying your site, using preview channels, and managing\nreleases, see [deploying.md](references/deploying.md).\n\n### 3. Emulation\n\nTo test your app locally:\n\n```bash\nnpx -y firebase-tools@latest emulators:start --only hosting\n```\n\nThis serves your app at `http://localhost:5000` by default.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}