Does tsup respect the exports attribute in package.json for determining ESM/CJS outputs? #732
Unanswered
sgarfinkel
asked this question in
Q&A
Replies: 1 comment
-
This is really important! Esbuild has already added a |
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
-
I only see reference to the
module
andmain
fields. Using conditional exports is now the recommended approach: https://nodejs.org/api/packages.html#conditional-exports so I was just curious if this is a supported method of defining expected outputs.Beta Was this translation helpful? Give feedback.
All reactions