Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
0de56b5a3c
|
@ -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