astro/smoke/astro.build-main/astro.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
679 B
TypeScript
Raw Permalink Normal View History

import type { AstroUserConfig } from "astro";
const config: AstroUserConfig = {
buildOptions: {
site: "https://astro.build",
sitemap: true,
},
renderers: [],
markdownOptions: {
render: [
"@astrojs/markdown-remark",
{
remarkPlugins: [
"remark-smartypants",
["remark-autolink-headings", { behavior: "wrap" }],
],
rehypePlugins: [
"rehype-slug",
["rehype-autolink-headings", { behavior: "wrap" }],
],
syntaxHighlight: 'shiki',
},
],
},
vite: {
ssr: {
noExternal: ['smartypants'],
external: ["svgo"],
},
},
};
export default config;