Skip to content

Commit

Permalink
Merge pull request #4585 from easyops-cn/steve/v3-compat
Browse files Browse the repository at this point in the history
fix(): fallback to older version of node for cjs
  • Loading branch information
weareoutman authored Dec 25, 2024
2 parents 4d25218 + a2ffc3f commit 443eacb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/babel-preset-next/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ module.exports = () => {
: env === "commonjs"
? {
targets: {
node: "14",
// Fallback to versions that doesn't support nullish coalescing
node: "12",
},
}
: {
Expand Down

0 comments on commit 443eacb

Please sign in to comment.