Merge pull request #16836 from kuangp/feat/cli/md

feat(cli): support import of .md files
This commit is contained in:
Patrik Oldsberg
2023-03-21 16:45:49 +01:00
committed by GitHub
4 changed files with 12 additions and 0 deletions
+5
View File
@@ -40,6 +40,11 @@ declare module '*.jpeg' {
export default src;
}
declare module '*.md' {
const src: string;
export default src;
}
declare module '*.png' {
const src: string;
export default src;
+1
View File
@@ -132,6 +132,7 @@ export async function makeRollupConfigs(
/\.woff$/,
/\.woff2$/,
/\.ttf$/,
/\.md$/,
],
}),
json(),