Skip to content

Commit 6a01ff1

Browse files
Add Cloudflare Workers configuration
1 parent f9dfe0c commit 6a01ff1

7 files changed

Lines changed: 6569 additions & 4590 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ _demo_work/
1515
*.mov
1616
public/screenshots/**/demo*.mp4
1717
public/screenshots/**/demo*.jpg
18+
19+
# wrangler files
20+
.wrangler
21+
.dev.vars*
22+
!.dev.vars.example
23+
!.env.example

astro.config.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
import { defineConfig } from 'astro/config';
22
import tailwindcss from '@tailwindcss/vite';
33

4+
import cloudflare from "@astrojs/cloudflare";
5+
46
export default defineConfig({
57
site: 'https://maxxtopia.com',
8+
69
vite: {
710
plugins: [tailwindcss()],
811
},
12+
913
build: {
1014
inlineStylesheets: 'auto',
1115
},
12-
});
16+
17+
adapter: cloudflare()
18+
});

0 commit comments

Comments
 (0)