Conversation
|
I‘d rather not litter the package.json with non-standard fields, and it seems it isn‘t strictly necessary according to aforementioned documentation. |
|
No, it's about the "package.json" not being accessible to the outside world. Doesn't matter who or what is trying to read the package.json file, anything outside of this module's own files can't look at the file cuz it's not defined as an export. This is very standard & has been part of the ESM resolution algorithm and official documentation + example since very early days. |
|
Thanks for the quick look @carhartl! As @lukeed mentions above, this is not introducing the non-standard field (I assume you are referring the the
|
|
Thanks for the PR, and apologies for taking too quick a look.. |
|
Thanks, appreciate it! |
|
@odeniso @lukeed I've created a new release so the fix becomes available: https://github.com/js-cookie/js-cookie/releases/tag/v3.0.1 |
here is some more context from within the svelte project