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
Describe the bug
Even though this package comes with an ESM version, it's not clear to me how build tools are supposed to pick up on it, when the ESM modules aren't specified anywhere in the package.json. Out of 'main', 'module' and 'exports' only the 'main' field is filled out and it links to day.min.js, which is not ESM.
Expected behavior
Package.json should be updated to point to the modules inside ./esm/ through the module and exports fields
Information
irrelevant
The text was updated successfully, but these errors were encountered:
Describe the bug
Even though this package comes with an ESM version, it's not clear to me how build tools are supposed to pick up on it, when the ESM modules aren't specified anywhere in the package.json. Out of 'main', 'module' and 'exports' only the 'main' field is filled out and it links to day.min.js, which is not ESM.
Expected behavior
Package.json should be updated to point to the modules inside
./esm/
through themodule
andexports
fieldsInformation
irrelevant
The text was updated successfully, but these errors were encountered: