update config.mjs

This commit is contained in:
ChangJoo Park(박창주) 2025-05-14 10:38:13 +09:00
parent 0702fad5a6
commit 708603cc5a
3 changed files with 6 additions and 3 deletions

View file

@ -5,6 +5,7 @@ const cache = await getCache();
// @ts-check
import { defineConfig } from "astro/config";
import sitemap from "@astrojs/sitemap";
import starlight from "@astrojs/starlight";
import astroExpressiveCode from "astro-expressive-code";
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
@ -14,12 +15,13 @@ export default defineConfig({
compressHTML: true,
prefetch: false,
integrations: [
sitemap(),
astroExpressiveCode({
themes: ["dracula"],
plugins: [pluginLineNumbers()],
}),
starlight({
title: "Flutter 문서",
title: "Flutter 배우기",
social: [
{
icon: "github",
@ -44,5 +46,5 @@ export default defineConfig({
],
],
},
site: "https://changjoo-park.github.io/learn-flutter"
});

1
package-lock.json generated
View file

@ -9,6 +9,7 @@
"version": "0.0.1",
"hasInstallScript": true,
"dependencies": {
"@astrojs/sitemap": "^3.4.0",
"@astrojs/starlight": "^0.34.3",
"@beoe/cache": "^0.1.1",
"@beoe/rehype-mermaid": "^0.4.2",

View file

@ -8,10 +8,10 @@
"build": "astro build",
"preview": "astro preview",
"upgrade": "npx @astrojs/upgrade",
"postinstall": "playwright install chromium",
"astro": "astro"
},
"dependencies": {
"@astrojs/sitemap": "^3.4.0",
"@astrojs/starlight": "^0.34.3",
"@beoe/cache": "^0.1.1",
"@beoe/rehype-mermaid": "^0.4.2",