Skip to content

Commit a52cf86

Browse files
(rollup) preventAssignment: true (#400)
2 parents 0a34971 + 8f14cc5 commit a52cf86

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build/rollup.config.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ const baseConfig = {
3131
}),
3232
],
3333
replace: {
34-
'process.env.NODE_ENV': JSON.stringify('production'),
35-
'process.env.ES_BUILD': JSON.stringify('false'),
34+
preventAssignment: true,
35+
values: {
36+
'process.env.NODE_ENV': JSON.stringify('production'),
37+
'process.env.ES_BUILD': JSON.stringify('false'),
38+
},
3639
},
3740
vue: {
3841
css: true,

0 commit comments

Comments
 (0)