jsmediatags
jsmediatags copied to clipboard
Update package.json [Bug fixing]
[error message]: The package may have incorrect main/module/exports specified in its package.json
[solution]: "browser": "dist/jsmediatags.min.js",
[Description]: In the package.json, the browser is supposed to have a "browser": "dist/jsmediatags.min.js", and not "browser": "dist/jsmediatags.js" to work well in the browser.
Thanks for making jsmediatags! I ran into the same problem and can confirm that the change in this PR fixes it.
With this fix, I can just do import * as jsmediatags from "jsmediatags"
in my vite devserver and things Just Work. Without this change, I get errors all over.
Please, merge it
Will fix #172 when merged, bumping.