#Javascript decorators are not currently supported - Cloudflare pages
1 messages · Page 1 of 1 (latest)
Are you using the Cloudflare Adapter?
// @ts-check
import { defineConfig } from "astro/config";
import cloudflare from "@astrojs/cloudflare";
import react from "@astrojs/react";
import tailwind from "@astrojs/tailwind";
import partytown from "@astrojs/partytown";
import sitemap from "@astrojs/sitemap";
// https://astro.build/config
export default defineConfig({
output: "server",
adapter: cloudflare({
platformProxy: {
enabled: true,
},
}),
integrations: [react(), tailwind(), partytown()],
});