diff --git a/packages/next/taskfile-swc.js b/packages/next/taskfile-swc.js index 22f123159fa3a..4c3b7ec4fe3cb 100644 --- a/packages/next/taskfile-swc.js +++ b/packages/next/taskfile-swc.js @@ -65,7 +65,8 @@ module.exports = function (task) { }, env: { targets: { - node: '12.0.0', + // follow the version defined in packages/next/package.json#engine + node: '14.0.0', }, }, jsc: {