Compare commits

...

2 Commits

Author SHA1 Message Date
d8d2e94008 does nothing when compiling image assets 2026-01-08 22:16:58 +00:00
d9824e60a5 Revert "manually installs sharp"
This reverts commit 3966da7bc5.
2026-01-08 22:16:11 +00:00
3 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig, envField } from "astro/config";
import { defineConfig, envField, passthroughImageService } from "astro/config";
import db from "@astrojs/db";
import mdx from "@astrojs/mdx";
import node from "@astrojs/node";
@@ -30,6 +30,9 @@ export default defineConfig({
CONTACT_MAILBOX: envField.string({ context: "server", access: "secret" }),
},
},
image: {
service: passthroughImageService(),
},
site: "https://joeac.net",
integrations: [db(), mdx(), sitemap()],
});

View File

@@ -14,7 +14,6 @@
"astro": "^5.1.1",
"markdown-it": "^14.1.0",
"nodemailer": "^7.0.11",
"sharp": "^0.34.5",
"typescript": "^5.4.3"
},
"devDependencies": {
@@ -1539,6 +1538,7 @@
"resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.0.0.tgz",
"integrity": "sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==",
"license": "MIT",
"optional": true,
"engines": {
"node": ">=18"
}
@@ -4332,6 +4332,7 @@
"resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
"integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
"license": "Apache-2.0",
"optional": true,
"engines": {
"node": ">=8"
}
@@ -7794,6 +7795,7 @@
"integrity": "sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==",
"hasInstallScript": true,
"license": "Apache-2.0",
"optional": true,
"dependencies": {
"@img/colour": "^1.0.0",
"detect-libc": "^2.1.2",

View File

@@ -20,7 +20,6 @@
"astro": "^5.1.1",
"markdown-it": "^14.1.0",
"nodemailer": "^7.0.11",
"sharp": "^0.34.5",
"typescript": "^5.4.3"
},
"devDependencies": {