From 0d8646f081a36d407addb1cf9ddb8613d0ad1058 Mon Sep 17 00:00:00 2001 From: Muah Date: Sun, 6 May 2018 10:27:33 +0200 Subject: [PATCH 1/2] replace deprecated es2015 with env https://babeljs.io/docs/plugins/#official-presets > Each yearly preset only compiles what was ratified in that year. babel-preset-env replaces es2015, es2016, es2017 and latest --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 5cecab2..1008ecb 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,7 @@ }, "babel": { "presets": [ - "es2015-node6", - "stage-2" + "env", ] }, "dependencies": { From 8abe36e5f036515a019e9265fe843ce5b2906702 Mon Sep 17 00:00:00 2001 From: Muah Date: Sun, 6 May 2018 10:27:52 +0200 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1008ecb..c4c5a92 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ }, "babel": { "presets": [ - "env", + "env" ] }, "dependencies": {