chore: suppress rollup plugin replace warning

This commit is contained in:
Evan You 2021-02-24 15:05:36 -05:00
parent c5d147c57f
commit 414c265dd9

View File

@ -235,7 +235,10 @@ function createReplacePlugin(
replacements[key] = process.env[key]
}
})
return replace(replacements)
return replace({
values: replacements,
preventAssignment: true
})
}
function createProductionConfig(format) {