Skip to content

Commit 414c265

Browse files
committed
chore: suppress rollup plugin replace warning
1 parent c5d147c commit 414c265

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rollup.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ function createReplacePlugin(
235235
replacements[key] = process.env[key]
236236
}
237237
})
238-
return replace(replacements)
238+
return replace({
239+
values: replacements,
240+
preventAssignment: true
241+
})
239242
}
240243

241244
function createProductionConfig(format) {

0 commit comments

Comments
 (0)