Commit 001e715e authored by Tim Neutkens's avatar Tim Neutkens

Turbopack: Skip loading webpack hook

parent 318aacca
......@@ -1307,7 +1307,7 @@ export default async function loadConfig(
}
// Original implementation continues below...
if (!process.env.__NEXT_PRIVATE_RENDER_WORKER) {
if (!process.env.__NEXT_PRIVATE_RENDER_WORKER && !process.env.TURBOPACK) {
try {
loadWebpackHook()
} catch (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment