Latest Safari freezes when opening devtools for projects using webpack #78524
Labels
linear: next
Confirmed issue that is tracked by the Next.js team.
Webpack
Related to Webpack with Next.js.
Link to the code that reproduces this issue
https://github.com/peabnuts123/next-safari-18.4-issue
(this is an unmodified, default next.js app, generated by
npx create-next-app@latest
)To Reproduce
npx create-next-app@latest
npm run dev
http://localhost:3000
)Cmd+Opt+I
) and immediately type something (e.g. a bare number like2
) into consoleYou may also close + reopen devtools and notice this freeze happens each time.
Current vs. Expected behavior
Current behaviour:
Expected
Provide environment information
Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.4.0: Wed Mar 19 21:17:32 PDT 2025; root:xnu-11417.101.15~1/RELEASE_ARM64_T6030 Available memory (MB): 36864 Available CPU cores: 12 Binaries: Node: 22.14.0 npm: 10.9.2 Yarn: N/A pnpm: N/A Relevant Packages: next: 15.3.1 // Latest available version is detected (15.3.1). eslint-config-next: 15.3.1 react: 19.1.0 react-dom: 19.1.0 typescript: 5.8.3 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Webpack
Which stage(s) are affected? (Select all that apply)
next dev (local)
Additional context
(All the stuff I wrote in this field got deleted? I had to retype it)
[email protected]
and problem still persistsSafari Technology Preview
and the issue does NOT occur, which leads me to believe this is a Safari bug. However, if many people are going to end up on this version of Safari (which only updates with MacOS), then I thought it might be worth fixing on next's end.The text was updated successfully, but these errors were encountered: