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
This is an issue that also effects schemata-ts. Essentially, .mjs files need to specify the file extension when importing from non-mjs files. This issue arises because kuvio's exports import from fp-ts/Foo where they need to be replaced with fp-ts/es6/Foo.js for .mjs files. It might also be good to replace .js fp-ts imports with fp-ts/lib/Foo.js too.
This is an issue that also effects schemata-ts. Essentially,
.mjs
files need to specify the file extension when importing from non-mjs files. This issue arises because kuvio's exports import fromfp-ts/Foo
where they need to be replaced withfp-ts/es6/Foo.js
for.mjs
files. It might also be good to replace.js
fp-ts imports withfp-ts/lib/Foo.js
too.Source of issues: all
.mjs
files which import fromfp-ts/Foo
Example: https://unpkg.com/browse/kuvio@1.3.1/dist/index.mjs
The text was updated successfully, but these errors were encountered: