We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92daef0 commit 4098bd5Copy full SHA for 4098bd5
packages/replace/types/index.d.ts
@@ -23,6 +23,12 @@ export interface RollupReplaceOptions {
23
* Files that should be excluded, if `include` is otherwise too permissive.
24
*/
25
exclude?: FilterPattern;
26
+ /**
27
+ * When replacing dot-separated object properties like `process.env.NODE_ENV`,
28
+ * will also replace `typeof process` object guard checks against the objects
29
+ * with the string `"object"`
30
+ */
31
+ objectGuards?: boolean;
32
/**
33
* If false, skips source map generation. This will improve performance.
34
* @default true
0 commit comments