Skip to content

Commit be9b162

Browse files
Add Cloudflare Workers configuration
1 parent 6e0cac8 commit be9b162

7 files changed

Lines changed: 7064 additions & 5103 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,9 @@ dist
77
*.log
88
.vscode
99
.idea
10+
11+
# wrangler files
12+
.wrangler
13+
.dev.vars*
14+
!.dev.vars.example
15+
!.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)