PreprocessPluginOptions
Options for preprocessPlugin.
Import:
import type { PreprocessPluginOptions } from '@mnaoumov/typescript-dev-toolkit/bundlers/esbuild-impl/preprocess-plugin';Signature:
export interface PreprocessPluginOptionsProperties
| Property | Type | Description |
|---|---|---|
| additionalBannerInitFunctions? | readonly (() => void)[] | Self-contained functions serialized into the banner after the shared shims, each invoked once. |
| cjsImportMetaUrlProvider? | () => string | The self-contained function whose result replaces import(dot)meta(dot)url in a CommonJS build. Serialized into every file that reads it. |
| isEsm? | boolean | Whether the build is for an ESM format. |
Links to this page: