Skip to content

Commit ae9bae6

Browse files
authored
Merge pull request #16 from LatentDream/main
ci: missing build config
2 parents ad9d574 + 516b9e9 commit ae9bae6

File tree

5 files changed

+663
-13
lines changed

5 files changed

+663
-13
lines changed

landing/astro.config.mjs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,22 @@ import { defineConfig } from 'astro/config';
44
import react from '@astrojs/react';
55
import tailwind from '@astrojs/tailwind';
66

7+
import cloudflare from '@astrojs/cloudflare';
8+
79
// https://astro.build/config
810
export default defineConfig({
911
integrations: [
1012
react(),
1113
tailwind({
1214
applyBaseStyles: false,
1315
}),
14-
]
16+
],
17+
18+
vite: {
19+
ssr: {
20+
external: ['svgo', '@iconify/tools']
21+
}
22+
},
23+
24+
adapter: cloudflare()
1525
});

landing/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@
1010
},
1111
"dependencies": {
1212
"@astrojs/check": "^0.9.4",
13+
"@astrojs/cloudflare": "^12.2.1",
1314
"@astrojs/react": "^4.1.6",
1415
"@astrojs/tailwind": "^5.1.5",
1516
"@astropub/icons": "^0.2.0",
1617
"@fortawesome/free-brands-svg-icons": "^6.7.2",
1718
"@fortawesome/react-fontawesome": "^0.2.2",
19+
"@iconify/tools": "^4.1.1",
1820
"@radix-ui/react-slot": "^1.1.1",
1921
"@types/react": "^19.0.8",
2022
"@types/react-dom": "^19.0.3",
@@ -25,6 +27,8 @@
2527
"lucide-react": "^0.474.0",
2628
"react": "^19.0.0",
2729
"react-dom": "^19.0.0",
30+
"sharp": "^0.33.5",
31+
"svgo": "^3.3.2",
2832
"tailwind-merge": "^2.6.0",
2933
"tailwindcss": "^3.4.17",
3034
"tailwindcss-animate": "^1.0.7",

0 commit comments

Comments
 (0)