mirror of https://github.com/vuejs/core.git
parent
d621d4c646
commit
8b7c04b18f
|
@ -193,7 +193,7 @@ function createConfig(format, output, plugins = []) {
|
|||
if (isBundlerESMBuild) {
|
||||
Object.assign(replacements, {
|
||||
// preserve to be handled by bundlers
|
||||
__DEV__: `(process.env.NODE_ENV !== 'production')`
|
||||
__DEV__: `!!(process.env.NODE_ENV !== 'production')`
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue