- Create .gitignore, .env.example, README.md, LICENSE - Add astro.config.mjs and template.config.json - Scaffold .vscode extensions, launch, and settings - Add CLAUDE.md with development commands and guidelines - Include public assets, fonts, and media files - Add src components, layouts, pages, and utils - Add cursor rules and worktrees configuration - Add package.json, pnpm-lock.yaml, and tsconfig.json
30 lines
557 B
JavaScript
30 lines
557 B
JavaScript
// @ts-check
|
|
|
|
import mdx from '@astrojs/mdx';
|
|
import sitemap from '@astrojs/sitemap';
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import cloudflare from '@astrojs/cloudflare';
|
|
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
import react from '@astrojs/react';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
site: 'https://yoursite.com',
|
|
integrations: [mdx(), sitemap(), react()],
|
|
|
|
adapter: cloudflare({
|
|
platformProxy: {
|
|
enabled: true
|
|
},
|
|
|
|
imageService: "compile"
|
|
}),
|
|
|
|
vite: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
});
|