go-learn/apps/web/astro.config.mjs
sab.code.lab 1c85091186 chore: восстановление репозитория из снапшота v0.3.1
Прежняя git-история утрачена при переносе проекта на машину владельца
(снапшот без .git). Хэши коммитов в docs/reports/* относятся к утраченной
истории.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 09:34:02 +02:00

17 lines
799 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// @ts-check
import { defineConfig } from 'astro/config';
// Статическая сборка без адаптеров: сайт целиком клиентский (ADR-0001).
// build.format 'file': страницы как play.html, а не play/index.html —
// работает на любом статическом сервере без directory index (превью, Apache).
export default defineConfig({
output: 'static',
build: { format: 'file' },
markdown: {
shikiConfig: {
// Светлая тема подсветки под дизайн «васи» (этап 10): ASCII-диаграммы
// уроков рендерятся shiki, тёмная тема по умолчанию ломала .lesson-body pre.
theme: 'github-light',
},
},
});