feat(cli): support import of .md files

Signed-off-by: Phil Kuang <pkuang@factset.com>
This commit is contained in:
Phil Kuang
2023-03-13 15:54:23 -04:00
parent 80698c1de8
commit 79e91d4c30
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(),