From aa114858260402107ec8a1e1a825dea0a259bcb5 Mon Sep 17 00:00:00 2001 From: Christoph Tavan Date: Thu, 2 Dec 2021 23:22:03 +0100 Subject: [PATCH] build: drop Node.js 8.x from babel transpile target (#603) BREAKING CHANGE: Although in practice this is currently a noop since the resulting build does not change, the build will no longer transpiles future changes for Node.js 8.x targets, so semantically this is still a breaking change. --- babel.config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/babel.config.json b/babel.config.json index 98960bee..cd9b48ff 100644 --- a/babel.config.json +++ b/babel.config.json @@ -3,13 +3,13 @@ "plugins": [], "env": { "commonjs": { - "presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": "commonjs" }]] + "presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": "commonjs" }]] }, "esmBrowser": { "presets": [["@babel/preset-env", { "modules": false }]] }, "esmNode": { - "presets": [["@babel/preset-env", { "targets": { "node": "8" }, "modules": false }]] + "presets": [["@babel/preset-env", { "targets": { "node": "10" }, "modules": false }]] } } }