From bd8ff46101f74137a1b5239b76d2493d672fdce8 Mon Sep 17 00:00:00 2001
From: Hermann Blum <hermannsblum@yahoo.de>
Date: Sat, 2 Dec 2017 00:58:41 +0100
Subject: [PATCH] switch from preset-env to preset-es2015

---
 package.json      | 2 +-
 webpack.config.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package.json b/package.json
index 0f44a9e..29ab01a 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
     "babel": "^6.23.0",
     "babel-core": "^6.26.0",
     "babel-loader": "^7.1.2",
-    "babel-preset-env": "^1.6.1",
+    "babel-preset-es2015": "^6.24.1",
     "compression-webpack-plugin": "^1.0.1",
     "file-loader": "^1.1.5",
     "mithril": "^1.1.5",
diff --git a/webpack.config.js b/webpack.config.js
index 6bd7e38..528aa8a 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -36,7 +36,7 @@ const config = {
         exclude: /node_modules/,
         use: [{
           loader: 'babel-loader',
-          options: { presets: ['env'] },
+          options: { presets: ['es2015'] },
         }],
       },
       {
-- 
GitLab