0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/packages/integrations/mdx/test/fixtures/mdx-vite-env-vars/astro.config.mjs
2024-01-11 12:06:14 +08:00

16 lines
342 B
JavaScript

import mdx from '@astrojs/mdx';
export default {
site: 'https://mdx-is-neat.com/',
markdown: {
syntaxHighlight: false,
},
integrations: [mdx()],
vite: {
build: {
// Enabling sourcemap may crash the build when using `import.meta.env.UNKNOWN_VAR`
// https://github.com/withastro/astro/issues/9012
sourcemap: true,
},
},
}