Package.json Import Conditions? #637
Unanswered
chrisryanouellette
asked this question in
Q&A
Replies: 1 comment 1 reply
-
ClearScript doesn't support import resolution based on Good luck! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When importing other packages is there a way to simulate the NodeJS package resolution? Would it be possible in theory to import based on a runtime condition?
For more context I am trying to setup React Server Components with ClearScript and the only thing I am missing is using the
react-server
condition when importing React.With WebPack's
condtionName
resolution this may no longer be needed.Beta Was this translation helpful? Give feedback.
All reactions