You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the same module has different version in repo, prebundle will be error.
for example, react-router depend on [email protected] , repo depend on the latest [email protected]。
when prebund react-router will use root directory node_modules module which is [email protected] will cause import error。because [email protected] has different export from [email protected]
Describe the bug
when the same module has different version in repo, prebundle will be error.
for example,
react-router
depend on[email protected]
, repo depend on the latest[email protected]
。when prebund
react-router
will use root directory node_modules module which is[email protected]
will cause import error。because[email protected]
has different export from[email protected]
。
may be when
!isEntry
, here can use the module itself node_modules rather than root directory node_modulesReproduction
https://github.com/zhangyuang/vite-prebundle-error
$ npm i && npm run dev
The text was updated successfully, but these errors were encountered: