Skip to content

Commit 4026479

Browse files
fix file-type import for esm projects (#1309)
1 parent 887b0cb commit 4026479

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Bitmap, Format, JimpClass, Edge } from "@jimp/types";
22
import { cssColorToHex, scan, scanIterator } from "@jimp/utils";
3-
import * as fileType from "file-type/core.js";
3+
import fileType from "file-type/core.js";
44
import { to } from "await-to-js";
55
import { existsSync, readFile, writeFile } from "@jimp/file-ops";
66
import mime from "mime/lite.js";

0 commit comments

Comments
 (0)