Describe the bug
In Version 1.16, the export-clause was introduced in the package.json using conditional exports for import, require and types.
That leads to the problem that the library cannot be used in other enviroments, because the default-case is missing. In our case the import using shadow-cljs failes.
Describe the bug In Version 1.16, the
export
-clause was introduced in thepackage.json
using conditional exports forimport
,require
andtypes
. That leads to the problem that the library cannot be used in other enviroments, because the default-case is missing. In our case the import using shadow-cljs failes.Node.js also recommends to add a default if possible, see https://nodejs.org/api/packages.html#conditional-exports
Expected behavior json-edit-react should provide a default case in
exports