Skip to content

Commit 1e226b8

Browse files
committed
fix(blob): fix import test
1 parent 02db711 commit 1e226b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/blob.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { promises as fsPromises } from 'fs';
2-
import mime from 'mime-types';
32

43
async function getFileInfo(name, file) {
4+
const mime = await import('mime-types');
5+
console.log(mime);
56
return {
67
name,
78
file: await fsPromises.readFile(file),

0 commit comments

Comments
 (0)