File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
packages/docs/src/routes/docs/deployments/self-hosting Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ staticAdapter({
49
49
50
50
## Building for Production
51
51
52
- After adding the appropriate adapter, build your application:
52
+ After adding the appropriate adapter, build your application. This will create a ` dist/ ` directory with all the necessary files for deployment :
53
53
54
54
<PackageManagerTabs >
55
55
<span q :slot = " pnpm" >
@@ -75,9 +75,16 @@ bun run build
75
75
</PackageManagerTabs >
76
76
77
77
The build process will generate:
78
- - ` dist/ ` directory containing client-side assets
79
- - ` dist/build/ ` (JavaScript, CSS chunks)
80
- - ` dist/assets/ ` (images, fonts, other static files)
78
+ - ` dist/ ` directory containing:
79
+ - ** Vite-generated files** :
80
+ - ` dist/build/ ` - Compiled JavaScript and CSS chunks (created by Vite)
81
+ - ` dist/assets/ ` - Processed assets like images and fonts
82
+ - ** 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)
85
+ - ** Manifest files** :
86
+ - ` manifest.json ` - Web app manifest (required for PWA support)
87
+ - ` q-manifest.json ` - Development-only manifest (safe to exclude from production)
81
88
- ` server/ ` directory containing server-side code (for Node.js adapters)
82
89
83
90
## Deployment Methods
You can’t perform that action at this time.
0 commit comments