mirror of https://github.com/vuejs/core.git
fix(build): fix dev flag replacement in esm-builder builds (#8314)
close #8312
This commit is contained in:
parent
a374d7e6ed
commit
003836f90e
|
@ -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