mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### Why? In preparation for moving all turbopack crates Also makes them easier to work with in general. Closes PACK-3164
10 lines
295 B
JavaScript
10 lines
295 B
JavaScript
import dynamic from 'next/dynamic';
|
|
export const NextDynamicNoSSRServerComponent = dynamic(()=>import('../text-dynamic-no-ssr-server'), {
|
|
loadableGenerated: {
|
|
webpack: ()=>[
|
|
require.resolveWeak("../text-dynamic-no-ssr-server")
|
|
]
|
|
},
|
|
ssr: false
|
|
});
|