Replies: 1 comment
-
|
You should using full file extension. More info can see https://nodejs.org/api/esm.html#esm_mandatory_file_extensions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Unfortunately I can't use devExports because I'm running some tests on the compiled code. Or at least I'm getting ERR_MODULE_NOT_FOUND with
devExports: trueHave anyone found a way to track code references across packages in a monorepo?
The solution I've seen mentioned is using tsconfig references. But no matter what I write it doesn't seem to work.
This is the repo I'm trying to configure https://github.com/snebjorn/orval
I found this repo that claims to have it setup https://github.com/RyanCavanaugh/learn-a
But it doesn't seem to work on my repo. Though I'm using the newer package.json exports field - which I intended to keep using.
Beta Was this translation helpful? Give feedback.
All reactions