Upgrade minimal Node.js version to Node 12
lukasholzer opened this issue · 1 comments
lukasholzer commented
This issue originates out of netlify/team-dev#34 (internal link)
We should upgrade the minimal Node.js version to Node >=12.20.0 as the CLI is already dropping the support for Node.js version < 12 netlify/cli#3512.
In the CLI we had some hardcoding to check the edge handler versions are run at least with node 10.
// the edge handlers plugin only works on node >= 10
const version = Number.parseInt(process.version.slice(1).split('.')[0])
const EDGE_HANDLER_MIN_VERSION = 10
As we are moving forward with this the edge handlers plugin can drop the support and potentially update dependencies that where blocked by this.