Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
outout of buildtime image processing (downloads sharp at buildtime)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsjobeki committed Nov 3, 2023
1 parent 2db8a0a commit e04b9a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/static-docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import { defineConfig, passthroughImageService } from "astro/config";
import { spawn } from "node:child_process";
import { dirname, relative } from "node:path";
import { fileURLToPath } from "node:url";
Expand All @@ -8,6 +8,9 @@ const { SITE = undefined, PREFIX = undefined } = process.env;
console.log({ SITE, PREFIX });

export default defineConfig({
image: {
service: passthroughImageService(),
},
site: SITE,
base: PREFIX,
siteMap: true,
Expand Down

0 comments on commit e04b9a7

Please sign in to comment.