(name: string | undefined)
| 87 | const MINIFIED_FUNCTION = /^[A-Za-z_$][A-Za-z0-9_$]{0,2}$/; |
| 88 | |
| 89 | const usableFunction = (name: string | undefined): string | undefined => { |
| 90 | if (!name || name === "<anonymous>" || name === "?") return undefined; |
| 91 | return MINIFIED_FUNCTION.test(name) ? undefined : name; |
| 92 | }; |
| 93 | |
| 94 | /** Last path segment, without query or fragment. Chunk paths are served from |
| 95 | * host- and port-specific origins (`http://127.0.0.1:4789/assets/…`), which are |