Skip to content

Commit

Permalink
fix file-type import for esm projects (#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie authored Sep 2, 2024
1 parent 887b0cb commit 4026479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Bitmap, Format, JimpClass, Edge } from "@jimp/types";
import { cssColorToHex, scan, scanIterator } from "@jimp/utils";
import * as fileType from "file-type/core.js";
import fileType from "file-type/core.js";
import { to } from "await-to-js";
import { existsSync, readFile, writeFile } from "@jimp/file-ops";
import mime from "mime/lite.js";
Expand Down

0 comments on commit 4026479

Please sign in to comment.