Skip to content

Commit

Permalink
Update readme.md of next-mdx to allow typescript file extensions for …
Browse files Browse the repository at this point in the history
…pages (#32830)
  • Loading branch information
cmdcolin committed Dec 26, 2021
1 parent b562b90 commit a989469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-mdx/readme.md
Expand Up @@ -69,7 +69,7 @@ const withMDX = require('@next/mdx')({
extension: /\.mdx?$/,
})
module.exports = withMDX({
pageExtensions: ['js', 'jsx', 'md', 'mdx'],
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
})
```

Expand Down

0 comments on commit a989469

Please sign in to comment.