aboutsummaryrefslogtreecommitdiffstats
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-08-23 13:38:23 -0700
committerPinapelz <yukais@pinapelz.com>2024-08-23 14:37:42 -0700
commit679d6a4f12146f5f040dea6de6c19c4877f328fd (patch)
tree2adf29f1399c8f41d8ee2c352796d91ac7e1d7ad /astro.config.mjs
parent7d6608e50f2c28e6a0fe744a1a68c0708d219ec2 (diff)
migrate from squoosh to sharp image renderer
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs7
1 files changed, 4 insertions, 3 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index dc4791d..c6095bc 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -1,13 +1,14 @@
-import { defineConfig, squooshImageService } from 'astro/config';
+import { defineConfig, sharpImageService } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
+import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
site: 'https://blog.pinapelz.com',
- integrations: [mdx(), sitemap()],
+ integrations: [mdx(), sitemap(), react()],
image:{
- service: squooshImageService(),
+ service: sharpImageService(),
}
}); \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage