From 8f179eca16cf4282a856ecb4e05b6ab848364bd5 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Sun, 24 Jul 2016 10:22:50 +0200 Subject: [PATCH] Minimum viable async (user needs node 6) --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 9207b800..2d758936 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,8 @@ ], "repository": "zeit/micro-list", "babel": { - "presets": [ - "es2015-node" - ], "plugins": [ + "transform-es2015-modules-commonjs", "transform-async-to-generator" ] }, @@ -45,7 +43,7 @@ "homepage": "https://github.com/zeit/micro-list#readme", "devDependencies": { "babel-plugin-transform-async-to-generator": "6.8.0", - "babel-preset-es2015-node": "4.0.2", + "babel-plugin-transform-es2015-modules-commonjs": "^6.11.5", "babel-register": "^6.9.0", "gulp": "3.9.1", "gulp-babel": "6.1.2",