mirror of https://github.com/vuejs/core.git
fix(build): fix dev flag replacement in esm-bundler builds
This commit is contained in:
parent
85f4d8ccb9
commit
5851eaa933
|
@ -192,7 +192,7 @@ function createConfig(format, output, plugins = []) {
|
||||||
if (isBundlerESMBuild) {
|
if (isBundlerESMBuild) {
|
||||||
Object.assign(replacements, {
|
Object.assign(replacements, {
|
||||||
// preserve to be handled by bundlers
|
// preserve to be handled by bundlers
|
||||||
__DEV__: `(process.env.NODE_ENV !== 'production')`
|
__DEV__: `process.env.NODE_ENV !== 'production'`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue