chore(build): add preventAssignment option for replace plugin

This commit is contained in:
Pooya Parsa 2021-02-23 10:29:00 +01:00
parent b7f9cdc2a4
commit 756b16ae06

View File

@ -38,6 +38,7 @@ export default function rollupConfig ({
replacePlugin({
exclude: 'node_modules/**',
delimiters: ['', ''],
preventAssignment: true,
values: {
__NODE_ENV__: process.env.NODE_ENV,
...replace