mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The `--no-mangling` CLI option for `next build` was originally introduced in #42633. However, we lost this feature during our migration from Terser to SWC. As part of broader improvements for debugging dynamic accesses with Dynamic I/O enabled, I needed this functionality back, so I restored it for Webpack and also added it to Turbopack. fixes #67037 fixes #50208 --------- Co-authored-by: Benjamin Woodruff <[email protected]>
5 lines
92 B
TypeScript
5 lines
92 B
TypeScript
export default function Page() {
|
|
throw new Error('Kaputt!')
|
|
return <p>hello world</p>
|
|
}
|