Skip to content

Commit fec8071

Browse files
author
iitzIrFan
committed
Enhance self-hosting documentation: clarify build output details, improve descriptions of generated files, and specify server entrypoints for Node.js adapters
1 parent 2d84f3d commit fec8071

File tree

1 file changed

+12
-7
lines changed
  • packages/docs/src/routes/docs/deployments/self-hosting

1 file changed

+12
-7
lines changed

packages/docs/src/routes/docs/deployments/self-hosting/index.mdx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,17 +75,22 @@ bun run build
7575
</PackageManagerTabs>
7676

7777
The build process will generate:
78+
7879
- `dist/` directory containing:
7980
- **Vite-generated files**:
80-
- `dist/build/` - Compiled JavaScript and CSS chunks (created by Vite)
81-
- `dist/assets/` - Processed assets like images and fonts
81+
- `dist/build/` JavaScript and CSS bundles (code-split and optimized)
82+
- `dist/assets/` – Fonts, images, and static assets processed by Vite
8283
- **Non-Vite files (copied as-is)**:
83-
- All files from your `public/` directory (copied to the root of `dist/`)
84-
- Static site generation (SSG) results (if applicable)
84+
- Everything from the `public/` folder (e.g., favicon, robots.txt, etc.)
85+
- **Static site generation output** (if SSG is used):
86+
- Pre-rendered `.html` pages
87+
- Route-specific `q-data.json` files
8588
- **Manifest files**:
86-
- `manifest.json` - Web app manifest (required for PWA support)
87-
- `q-manifest.json` - Development-only manifest (safe to exclude from production)
88-
- `server/` directory containing server-side code (for Node.js adapters)
89+
- `manifest.json` – For PWA support
90+
- `q-manifest.json` – Used during development, **can be omitted from production**
91+
92+
- `server/` directory:
93+
- Contains server entrypoints like `entry.fastify.js` or `entry.express.js` depending on the adapter used.
8994

9095
## Deployment Methods
9196

0 commit comments

Comments
 (0)