@rescript/core package doesn't have the javascript file

Hello folks,

I’m trying to update one of my package (repo) from bs-platform 8.2 to rescript 11, and I get the following error when importing it in a regular javascript project:

Module not found: Can't resolve '@rescript/core/src/Core__List.res.js'

According to External Stdlib | ReScript Language Manual we need to use @rescript/std, and even though that removes the requirements from rescript, some modules from @rescript/core are not readily available as JavaScript. Is there something I am missing?

Thanks in advance,

Upstream suggests to use esmodule, but that results in other errors, see: @rescript/core package doesn't have the javascript file · Issue #6754 · rescript-lang/rescript-compiler · GitHub