Skip to content

Commit

Permalink
fix: add md/mdx into KNOWN_ASSET_TYPES for @mdx-js/rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Dec 7, 2023
1 parent 3e42611 commit ba32ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vite/src/node/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ export const KNOWN_ASSET_TYPES = [
'webmanifest',
'pdf',
'txt',
'md',
'mdx',
]

export const DEFAULT_ASSETS_RE = new RegExp(
Expand Down

0 comments on commit ba32ce9

Please sign in to comment.