Compress images and disable automatic compression
@@ -1,7 +1,6 @@
|
||||
import { defineConfig } from 'astro/config'
|
||||
import mdx from '@astrojs/mdx'
|
||||
import tailwind from '@astrojs/tailwind'
|
||||
import compress from 'astro-compress'
|
||||
import icon from "astro-icon"
|
||||
|
||||
// https://astro.build/config
|
||||
@@ -10,5 +9,5 @@ export default defineConfig({
|
||||
compressHTML: true,
|
||||
integrations: [mdx(), icon(), tailwind({
|
||||
applyBaseStyles: false,
|
||||
}), compress()],
|
||||
})],
|
||||
})
|
||||
|
||||
|
Before Width: | Height: | Size: 846 KiB After Width: | Height: | Size: 350 KiB |
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 969 KiB After Width: | Height: | Size: 356 KiB |