| 123456789101112131415161718192021222324252627282930313233 |
- import { m as BindingReplacePluginConfig } from "./shared/binding-DUEnSb0A.mjs";
- import { N as BuiltinPlugin } from "./shared/define-config-DhJZwTRw.mjs";
- import { t as esmExternalRequirePlugin } from "./shared/constructors-DYemMpPL.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 };
|