Skip to content

Commit ab5e682

Browse files
committed
feat: idk
1 parent 5437770 commit ab5e682

File tree

20 files changed

+144
-144
lines changed

20 files changed

+144
-144
lines changed

astro.config.mjs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import { defineConfig } from 'astro/config';
22
import tailwind from '@astrojs/tailwind';
3-
import image from '@astrojs/image';
43
import react from '@astrojs/react';
54
import prefetch from '@astrojs/prefetch';
65

6+
import cloudflare from '@astrojs/cloudflare';
7+
78
// https://astro.build/config
89
export default defineConfig({
9-
integrations: [
10-
tailwind(),
11-
image({
12-
serviceEntryPoint: '@astrojs/image/sharp',
13-
}),
14-
react(),
15-
prefetch(),
16-
],
10+
integrations: [tailwind(), react(), prefetch()],
11+
output: 'hybrid',
12+
experimental: {
13+
hybridOutput: true,
14+
assets: true,
15+
},
16+
adapter: cloudflare(),
1717
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13-
"@astrojs/image": "^0.16.8",
13+
"@astrojs/cloudflare": "^6.3.0",
1414
"@astrojs/prefetch": "0.2.1",
1515
"@astrojs/react": "^2.1.3",
1616
"@astrojs/tailwind": "^3.1.2",

pnpm-lock.yaml

Lines changed: 26 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/rust.png

-7.96 KB
Binary file not shown.

public/assets/webassembly.png

-5.93 KB
Binary file not shown.
File renamed without changes.

src/assets/rust.png

17.3 KB
Loading
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)