im using latest astro version but the build command do not work well. in dev mode i can see the website but on preview mode after build all the page have no content (all white)
astro config
// @ts-check
import { defineConfig } from 'astro/config';
import react from '<@&1055234544183287879>/react';
import tailwindcss from '@tailwindcss/vite';
import cloudflare from '<@&1055234544183287879>/cloudflare';
// https://astro.build/config
export default defineConfig({
integrations: [react()],
vite: {
plugins: [tailwindcss()]
},
output:"static",
adapter: cloudflare(),
});
wrangler
{
"compatibility_date": "2026-03-27",
"compatibility_flags": [
"global_fetch_strictly_public"
],
"name": "__",
"main": "<@&1055234544183287879>/cloudflare/entrypoints/server",
"assets": {
"directory": "./dist",
"binding": "ASSETS"
},
"observability": {
"enabled": true
}
}