You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: move full MIME table to file-selector/mime subpath to shrink bundle
BREAKING CHANGE: the full extension-to-MIME table is no longer bundled into the core entry. Import COMMON_MIME_TYPES from file-selector/mime and pass it via the mimeTypes option to restore full coverage.
When the browser doesn't set a File's `type`, `fromEvent` infers one from the file extension. By default it uses a small built-in table of the most common types, keeping the bundle lean.
89
+
90
+
If you need broader coverage, import the full extension-to-MIME table from the `file-selector/mime` subpath and pass it via the `mimeTypes` option. Because it's a separate entry point, the full table (~1,200 entries) is only included in your bundle when you import it:
0 commit comments