Merge remote-tracking branch 'upstream/main'

This commit is contained in:
三咲智子 Kevin Deng 2023-11-17 17:36:40 +08:00
commit 145df431e7
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ const plugins = [
}
]
if (format !== 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
if (format !== 'cjs' && pkg.buildOptions?.enableNonBrowserBranches) {
plugins.push(polyfillNode())
}