Replies: 3 comments 1 reply
-
nothing yet? ;( |
Beta Was this translation helpful? Give feedback.
0 replies
-
up |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use something like the example shown here: https://nextjs.org/docs/app/api-reference/config/next-config-js/turbo#resolving-aliases but with an empty module, for example:
Might add a specific option just for this, but that config should unblock you 🙂 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
There are cases where server-side modules are being imported but only be used in the server-side code, currently webpack config
resolve.fallback
is used to resolve "module not found" errors on the client-side code. See this Stack Overflow post for the details.Proposal
Add turbo.resolveFallback to allow modules not being imported on the client-side code.
Beta Was this translation helpful? Give feedback.
All reactions