Open
Description
If I have a monorepo:
.
├── common
│ ├── src
│ └── rescript.json
├── app
│ ├── src
│ └── rescript.json
└── rescript.json
and, in the root rescript.json
, I set the suffix
to something that is not the default, e.g.
{
"package-specs": [
{
"module": "esmodule",
"in-source": true,
"suffix": ".res.mjs"
}
],
}
the suffix resolution for opening the compiled JS file in both the common
and app
subprojects does not work, since the default is .js
. One would need to add the suffix in the subproject's rescript.json
as well.
The order of evaluation should be
local > root > default fallback
Metadata
Metadata
Assignees
Labels
No labels