Skip to content

Commit

Permalink
fix: use astrojs/image for image optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinanielsen committed Jan 14, 2025
1 parent 58414c1 commit 35eeb48
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import image from '@astrojs/image';

// https://astro.build/config
export default defineConfig({
site: "https://kevinanielsen.github.io",
base: "/go-fast-cdn",
integrations: [
image(),
starlight({
title: "Go-fast CDN",
defaultLocale: "root",
Expand Down
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"lint": "eslint"
},
"dependencies": {
"@astrojs/image": "^0.18.0",
"@astrojs/starlight": "^0.15.4",
"astro": "^4.16.18",
"execa": "^8.0.1",
Expand Down
53 changes: 53 additions & 0 deletions docs/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 35eeb48

Please sign in to comment.