Skip to content

Commit

Permalink
feat: もう何もわからんなコミット
Browse files Browse the repository at this point in the history
  • Loading branch information
吉野敬太郎 authored and 吉野敬太郎 committed Sep 16, 2024
1 parent d96f8b0 commit 4671400
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ playwright-report/
playwright/.cache/

.astro/
.wrangler/
6 changes: 5 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ export default defineConfig({
},
},
output: "hybrid",
adapter: cloudflare({ mode: "directory" }),
adapter: cloudflare({
mode: "directory",
functionPerRoute: true,
imageService: "compile",
}),
build: {
inlineStylesheets: "auto",
},
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
"dev": "TAILWIND_MODE=watch astro dev",
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"preview:astro": "astro preview",
"astro": "astro",
"gen-blog": "plop blog"
"gen-blog": "plop blog",
"preview:cf": "wrangler pages dev ./dist --compatibility-flags='nodejs_compat'"
},
"browser": {
"fs": false,
"child_process": false
},
"dependencies": {
"@astrojs/cloudflare": "11.0.4",
Expand Down

0 comments on commit 4671400

Please sign in to comment.