jsmediatags icon indicating copy to clipboard operation
jsmediatags copied to clipboard

Update package.json [Bug fixing]

Open rockyessel opened this issue 1 year ago • 3 comments

[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.

rockyessel avatar May 22 '23 03:05 rockyessel

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.

eteeselink avatar Aug 21 '23 20:08 eteeselink

Please, merge it

pedrohenriquebraga avatar Dec 08 '23 13:12 pedrohenriquebraga

Will fix #172 when merged, bumping.

aShimoka avatar Feb 05 '24 15:02 aShimoka