mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
chore(build): add preventAssignment option for replace plugin
This commit is contained in:
parent
b7f9cdc2a4
commit
756b16ae06
@ -38,6 +38,7 @@ export default function rollupConfig ({
|
||||
replacePlugin({
|
||||
exclude: 'node_modules/**',
|
||||
delimiters: ['', ''],
|
||||
preventAssignment: true,
|
||||
values: {
|
||||
__NODE_ENV__: process.env.NODE_ENV,
|
||||
...replace
|
||||
|
Loading…
Reference in New Issue
Block a user