mirror of https://github.com/vuejs/core.git
chore: fix polyfill node conditions in dev
This commit is contained in:
parent
83e618f316
commit
46d3910794
|
@ -92,7 +92,7 @@ const plugins = [
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
if (format === 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
|
if (format !== 'cjs' && pkg.buildOptions?.enableNonBrowserBranches) {
|
||||||
plugins.push(polyfillNode())
|
plugins.push(polyfillNode())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue