Skip to content

Commit

Permalink
refactor: emit pages in different endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed May 24, 2023
1 parent d6a7f20 commit 2642e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/mdx/src/index.ts
Expand Up @@ -129,7 +129,7 @@ export default function mdx(partialMdxOptions: Partial<MdxOptions> = {}): AstroI
name: '@astrojs/mdx-postprocess',
// These transforms must happen *after* JSX runtime transformations
transform(code, id) {
if (!id.endsWith('mdx')) return;
if (!id.endsWith('.mdx')) return;

const [moduleImports, moduleExports] = parseESM(code);

Expand Down

0 comments on commit 2642e53

Please sign in to comment.