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
in above, set package.json's type to module. index.js actually import i18next's esm version, but import zod-i18n-map's cjs version which import i18next's cjs version. the i18next is not the same
the solution would be: add exports field to zod-i18n-map's package.json, just like what i18next do.
i would like to make a pr.
The text was updated successfully, but these errors were encountered:
Reproduction: https://stackblitz.com/edit/stackblitz-starters-vcpapm?file=index.js. just run
node ./index.js
.in above, set package.json's type to
module
.index.js
actually importi18next
's esm version, but importzod-i18n-map
's cjs version which importi18next
's cjs version. thei18next
is not the samethe solution would be: add
exports
field tozod-i18n-map
's package.json, just like whati18next
do.i would like to make a pr.
The text was updated successfully, but these errors were encountered: