ES Modules && "type": "module"
#5190
jd-carroll
started this conversation in
General
Replies: 1 comment
-
Also, just to add one more thing, you are not using |
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
-
Nice work on the monorepo, thank you.
I noticed that you only have
"type": "module"
in the next-js app and not in any of the packages. Any particular reason for this?When you publish the ui-lib, will it be consumed as a full ES Module (even though it doesn't have
"type": "module"
)?I would like to move my similarly theory'd monorepo to full ESM but have been struggling a lot. I have not tried the path aliasing approach you used and am starting to wonder if that would solve all my problems.
Thanks again,
Beta Was this translation helpful? Give feedback.
All reactions