Skip to content

Commit

Permalink
chore: fix polyfill node conditions in dev
Browse files Browse the repository at this point in the history
sxzz committed Nov 17, 2023

Verified

This commit was signed with the committer’s verified signature.
sxzz Kevin Deng 三咲智子
1 parent 83e618f commit 5af8ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev.js
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ const plugins = [
}
]

if (format === 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
if (format !== 'cjs' || pkg.buildOptions?.enableNonBrowserBranches) {
plugins.push(polyfillNode())
}

0 comments on commit 5af8ee2

Please sign in to comment.