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
Is there an alternative for __non_webpack_require__ in Turbopack? I'm migrating an application from nextjs 12 to 15 and I want to keep __non_webpack_require__ calls at least for a transition period. I use it in getServerSideProps to import libraries that shouldn't leak into the client bundle.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Is there an alternative for
__non_webpack_require__
in Turbopack? I'm migrating an application from nextjs 12 to 15 and I want to keep__non_webpack_require__
calls at least for a transition period. I use it ingetServerSideProps
to import libraries that shouldn't leak into the client bundle.Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions