mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? Add `AbortSignal` to the reserved list of the name mangler. ### Why? We don't want `node-fetch` to throw an exception. x-ref: https://vercel.slack.com/archives/C04KC8A53T7/p1700123182211619?thread_ts=1700090771.304599&cid=C04KC8A53T7 ### How? This PR modifies the mangle option from the Rust side code. Closes PACK-1977
6 lines
92 B
TypeScript
6 lines
92 B
TypeScript
class AbortSignal {}
|
|
|
|
export default function Page() {
|
|
return <p>{AbortSignal.name}</p>
|
|
}
|