Repository navigation
Vite is unable to detect ESM import of internal package in monorepo #400
Answered
by
ArnaudBarre
pavinduLakshan
asked this question in
Q&A
|
Hi everyone, I have a monorepo using Nx and PNPM, where I've initialized a new React app named I'm trying to use an internal module, Steps to ReproduceThe issue can be reproduced with the following steps:
Error LogAs the error instructed, I tried adding the package to Any guidance or suggestions on resolving this issue would be greatly appreciated. |
Answered by
ArnaudBarre
Dec 28, 2024
Replies: 1 comment 1 reply
|
The error seems to be that the build output of |
1 reply
Answer selected by
pavinduLakshan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error seems to be that the build output of
react-componentscontains a import to itself, which rollup prevent. Check the build output of thereact-componentspackage to get more insights