|
|
@ -2,7 +2,7 @@ |
|
|
|
import preact from '@astrojs/preact'; |
|
|
|
import preact from '@astrojs/preact'; |
|
|
|
import sitemap from '@astrojs/sitemap'; |
|
|
|
import sitemap from '@astrojs/sitemap'; |
|
|
|
import tailwind from '@astrojs/tailwind'; |
|
|
|
import tailwind from '@astrojs/tailwind'; |
|
|
|
import compress from '@otterlord/astro-compress'; |
|
|
|
import compress from 'astro-compress'; |
|
|
|
import { defineConfig } from 'astro/config'; |
|
|
|
import { defineConfig } from 'astro/config'; |
|
|
|
import rehypeExternalLinks from 'rehype-external-links'; |
|
|
|
import rehypeExternalLinks from 'rehype-external-links'; |
|
|
|
import { fileURLToPath } from 'node:url'; |
|
|
|
import { fileURLToPath } from 'node:url'; |
|
|
@ -72,8 +72,8 @@ export default defineConfig({ |
|
|
|
serialize: serializeSitemap, |
|
|
|
serialize: serializeSitemap, |
|
|
|
}), |
|
|
|
}), |
|
|
|
compress({ |
|
|
|
compress({ |
|
|
|
css: false, |
|
|
|
CSS: false, |
|
|
|
js: false, |
|
|
|
JavaScript: false, |
|
|
|
}), |
|
|
|
}), |
|
|
|
preact(), |
|
|
|
preact(), |
|
|
|
], |
|
|
|
], |
|
|
|