Skip to content

Commit a6b03dd

Browse files
committed
trying to fix SVGs on netlify
1 parent 5c772b0 commit a6b03dd

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

astro.config.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,15 @@ export default defineConfig({
3030
site: site,
3131
outDir: outDir,
3232
output: output,
33-
adapter: isCloudflare
34-
? cloudflare()
35-
: isNetlify
36-
? netlify()
37-
: output === "server"
38-
? node({ mode: "middleware" })
39-
: undefined,
33+
// adapter: isCloudflare
34+
// ? cloudflare()
35+
// : isNetlify
36+
// ? netlify({
37+
// imageCDN: false,
38+
// })
39+
// : output === "server"
40+
// ? node({ mode: "middleware" })
41+
// : undefined,
4042
compressHTML: true,
4143
build: {
4244
assets: "a",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"image": "docker buildx bake -f docker-bake.hcl",
2929
"proxy": "docker compose -f docker-compose.yml -f docker-compose.local.yml up dev dev-tls-proxy",
3030
"bun:install": "bun install && (cd node_modules/sharp && bun run install)",
31-
"postinstall": "command -v bun && (cd node_modules/sharp && bun run install) || true"
31+
"postinstall": "command -v bun && (cd node_modules/sharp && bun run install) || true",
32+
"gen:screenshots": "scripts/generate-screenshots.sh"
3233
},
3334
"workspaces": [
3435
"./packages/astro/*",

0 commit comments

Comments
 (0)