Vite project in the turbo repo setup is not building #16482
Unanswered
mayank1513
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Please refer to this branch - https://github.com/react18-tools/turborepo-template/tree/loaders
The nextjs-example and remix-example builds well. However, the vite-example throws error.
RollupError: ../../packages/shared-ui/src/root-layout.tsx (12:9): "SimpleLoader" is not exported by "../../lib/fork-me/dist/server/index.js", imported by "../../packages/shared-ui/src/root-layout.tsx".
This error makes no sense as SimpleLoader component is exported by the dist/server/index.js file and the other 2 examples build well using that file.
Example
https://github.com/react18-tools/turborepo-template/tree/loaders
Beta Was this translation helpful? Give feedback.
All reactions