Open
Description
Is your feature request related to a problem? Please describe.
When building a project with Vite, this error warning always appears.
Describe the solution you'd like
Upgrade to file-type@19.6.0
Describe alternatives you've considered
The local testing results using pnpm overrides + patch are good.
package.json
{
"pnpm": {
"overrides": {
"file-type": "^19.6.0"
}
}
}
@jimp/core/es/utils/image-bitmap.js

Additional context
Add any other context or screenshots about the feature request here.
Update, since file-type@19.6.0 is clearly esm only, and tshy does not support the feature of dynamic imports, for example, the same import has different bundles under different formats, which is very annoying...
Metadata
Metadata
Assignees
Labels
No labels