Add astro-critters
This commit is contained in:
@ -6,6 +6,7 @@ import { defineConfig } from "astro/config";
|
|||||||
import tailwind from "@astrojs/tailwind";
|
import tailwind from "@astrojs/tailwind";
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
import image from "@astrojs/image";
|
import image from "@astrojs/image";
|
||||||
|
import critters from "astro-critters";
|
||||||
import partytown from "@astrojs/partytown";
|
import partytown from "@astrojs/partytown";
|
||||||
|
|
||||||
import { SITE } from "./src/config.mjs";
|
import { SITE } from "./src/config.mjs";
|
||||||
@ -28,6 +29,10 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
sitemap(),
|
sitemap(),
|
||||||
image(),
|
image(),
|
||||||
|
critters({
|
||||||
|
inlineFonts: true,
|
||||||
|
logLevel: "silent",
|
||||||
|
}),
|
||||||
|
|
||||||
/* Disable this integration if you don't use Google Analytics (or other external script). */
|
/* Disable this integration if you don't use Google Analytics (or other external script). */
|
||||||
partytown({
|
partytown({
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
"@fontsource/inter": "^4.5.12",
|
"@fontsource/inter": "^4.5.12",
|
||||||
"@tailwindcss/typography": "^0.5.4",
|
"@tailwindcss/typography": "^0.5.4",
|
||||||
"astro": "^1.0.0",
|
"astro": "^1.0.0",
|
||||||
|
"astro-critters": "1.0.3",
|
||||||
"astro-icon": "^0.7.3",
|
"astro-icon": "^0.7.3",
|
||||||
"limax": "^v2.1.0",
|
"limax": "^v2.1.0",
|
||||||
"reading-time": "^1.5.0",
|
"reading-time": "^1.5.0",
|
||||||
|
Reference in New Issue
Block a user