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
Data from mime-db also includes extensions -- would it make sense to have a second method that evaluates if a file is compressible based on its extension?
Looking for a common source of truth for decisions on whether or not to pre-compress files as part of our build process.
The text was updated successfully, but these errors were encountered:
Sure, it can be added, but I think an issue with that is that typically an extension can refer to several different media types, some of which could differ in their compressibility. We'd need to provide some kind of mechanism to either resolve that case or maybe just always return undefined if a given extension refers to several different media types?
Data from mime-db also includes extensions -- would it make sense to have a second method that evaluates if a file is compressible based on its extension?
Looking for a common source of truth for decisions on whether or not to pre-compress files as part of our build process.
The text was updated successfully, but these errors were encountered: