mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
refactor: use AstroImageTools to optimize Markdown images
This commit is contained in:
@@ -2,6 +2,7 @@ import image from '@astrojs/image';
|
||||
import mdx from '@astrojs/mdx';
|
||||
import preact from '@astrojs/preact';
|
||||
import tailwind from '@astrojs/tailwind';
|
||||
import { astroImageTools } from 'astro-imagetools';
|
||||
|
||||
import { defineConfig } from 'astro/config';
|
||||
|
||||
@@ -11,6 +12,7 @@ export default defineConfig({
|
||||
mdx(),
|
||||
tailwind(),
|
||||
preact(),
|
||||
astroImageTools,
|
||||
image({
|
||||
serviceEntryPoint: '@astrojs/image/sharp',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user