File tree Expand file tree Collapse file tree 5 files changed +663
-13
lines changed Expand file tree Collapse file tree 5 files changed +663
-13
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,22 @@ import { defineConfig } from 'astro/config';
4
4
import react from '@astrojs/react' ;
5
5
import tailwind from '@astrojs/tailwind' ;
6
6
7
+ import cloudflare from '@astrojs/cloudflare' ;
8
+
7
9
// https://astro.build/config
8
10
export default defineConfig ( {
9
11
integrations : [
10
12
react ( ) ,
11
13
tailwind ( {
12
14
applyBaseStyles : false ,
13
15
} ) ,
14
- ]
16
+ ] ,
17
+
18
+ vite : {
19
+ ssr : {
20
+ external : [ 'svgo' , '@iconify/tools' ]
21
+ }
22
+ } ,
23
+
24
+ adapter : cloudflare ( )
15
25
} ) ;
Original file line number Diff line number Diff line change 10
10
},
11
11
"dependencies" : {
12
12
"@astrojs/check" : " ^0.9.4" ,
13
+ "@astrojs/cloudflare" : " ^12.2.1" ,
13
14
"@astrojs/react" : " ^4.1.6" ,
14
15
"@astrojs/tailwind" : " ^5.1.5" ,
15
16
"@astropub/icons" : " ^0.2.0" ,
16
17
"@fortawesome/free-brands-svg-icons" : " ^6.7.2" ,
17
18
"@fortawesome/react-fontawesome" : " ^0.2.2" ,
19
+ "@iconify/tools" : " ^4.1.1" ,
18
20
"@radix-ui/react-slot" : " ^1.1.1" ,
19
21
"@types/react" : " ^19.0.8" ,
20
22
"@types/react-dom" : " ^19.0.3" ,
25
27
"lucide-react" : " ^0.474.0" ,
26
28
"react" : " ^19.0.0" ,
27
29
"react-dom" : " ^19.0.0" ,
30
+ "sharp" : " ^0.33.5" ,
31
+ "svgo" : " ^3.3.2" ,
28
32
"tailwind-merge" : " ^2.6.0" ,
29
33
"tailwindcss" : " ^3.4.17" ,
30
34
"tailwindcss-animate" : " ^1.0.7" ,
You can’t perform that action at this time.
0 commit comments