Spaces:
Sleeping
Sleeping
| import { m as BindingReplacePluginConfig } from "./shared/binding-zH1vcmbM.mjs"; | |
| import { N as BuiltinPlugin } from "./shared/define-config-5HJ1b9vG.mjs"; | |
| import { t as esmExternalRequirePlugin } from "./shared/constructors-D0W3rNfA.mjs"; | |
| //#region src/builtin-plugin/replace-plugin.d.ts | |
| /** | |
| * Replaces targeted strings in files while bundling. | |
| * | |
| * @example | |
| * **Basic usage** | |
| * ```js | |
| * replacePlugin({ | |
| * 'process.env.NODE_ENV': JSON.stringify('production'), | |
| * __buildVersion: 15 | |
| * }) | |
| * ``` | |
| * @example | |
| * **With options** | |
| * ```js | |
| * replacePlugin({ | |
| * 'process.env.NODE_ENV': JSON.stringify('production'), | |
| * __buildVersion: 15 | |
| * }, { | |
| * preventAssignment: false, | |
| * }) | |
| * ``` | |
| * | |
| * @see https://rolldown.rs/builtin-plugins/replace | |
| * @category Builtin Plugins | |
| */ | |
| declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin; | |
| //#endregion | |
| export { esmExternalRequirePlugin, replacePlugin }; |