Closed danielrearden closed 3 weeks ago
Thanks for reporting and attempting a fix @danielrearden . Could you see if https://github.com/TypeCellOS/BlockNote/pull/956 fixes the issue?
(you could copy over the built files to your project for example)
Yes, this fixes it! Thank you for the quick response 🙏
Describe the bug Using
NodeNext
as themoduleResolution
value in a project'stsconfig.json
breaks the ability to import from@blocknote/core
,@blocknote/react
and@blocknote/server-util
. Any exports in those packages that use theexport * from
syntax are not importable and result in the error below.Mantine went through a similar issue here. The resolution there was to explicitly append the
.js
extension to the exports. However, I'm not 100% sure this wouldn't be a breaking change.To Reproduce
tsconfig.json
to useNodeNext
formodule
andmoduleResolution
.Misc