Skip to content

Make mmmagic an optionalDependency #16

Closed
@thusoy

Description

@thusoy

The move from extension-based detectionto sniffing MIME-types in 1.1.0 with mmmagic causes installs to fail on platforms without a C compiler, such as Windows without Visual Studio.

Would be great if you could put mmmagic into optionalDependencies and detect on runtime whether it's available or not, and then fall back to the old extension-based detection, so that the plugin is installable on all platforms.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions