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
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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