keepName
Returns its argument unchanged.
Serialized into the emitted banner, where it stands in for esbuild’s
__namehelper — which names a function and returns it — for bundles that reference the helper without emitting their own.
Import:
import { keepName } from 'obsidian-dev-utils/script-utils/bundlers/esbuild-impl/preprocess-plugin';Signature:
function keepName($unknown: unknown): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
$unknown | unknown |
Returns: unknown — The value passed in.