astro.config.mjs 342 B

12345678910111213141516
  1. import mdx from '@astrojs/mdx';
  2. export default {
  3. site: 'https://mdx-is-neat.com/',
  4. markdown: {
  5. syntaxHighlight: false,
  6. },
  7. integrations: [mdx()],
  8. vite: {
  9. build: {
  10. // Enabling sourcemap may crash the build when using `import.meta.env.UNKNOWN_VAR`
  11. // https://github.com/withastro/astro/issues/9012
  12. sourcemap: true,
  13. },
  14. },
  15. }