-
-
Notifications
You must be signed in to change notification settings - Fork 323
Closed
Description
Hi,
Upon upgrading to v4.0.0, I started getting new errors when building my SvelteKit / Vite / TypeScript project:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lite.js' is not defined by "exports" in ROOT/node_modules/mime/package.json ...
I think somewhere during transpilation (out of my control), my import mime from 'mime/lite' is getting turned into import mime from 'mime/lite.js', which isn't covered by the current exports in package.json.
I'll submit a quick fix PR very soon.
Thanks for the great module.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels