fix: Update config to Astro 5.0.x requirements
- Changed output: 'hybrid' → output: 'static' (Astro 5.x) - Fixes 'Removed option' error in Docker build - Builds 15 pages successfully in 819ms - Maintains all PDPA features
This commit is contained in:
@@ -4,22 +4,21 @@ import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'hybrid',
|
||||
adapter: undefined,
|
||||
output: 'static', // Changed from 'hybrid' (deprecated)
|
||||
build: {
|
||||
inlineStylesheets: 'always',
|
||||
},
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
preview: {
|
||||
host: true, // Allow all hosts
|
||||
host: true, // Allow all hosts (fix Easypanel access)
|
||||
port: 80,
|
||||
strictPort: false,
|
||||
},
|
||||
server: {
|
||||
host: true, // Allow all hosts
|
||||
host: true, // Allow all hosts
|
||||
port: 80,
|
||||
strictPort: false,
|
||||
},
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user