astro/smoke/astro.build-main/astro.config.ts
Fred K. Schott 918f1ea4f7
Make smoke tests more deterministic (#2618)
* sync first remote smoke tests

* update smoke test scripts
2022-02-28 21:38:17 -08:00

33 lines
679 B
TypeScript

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;