From ac7965bd7d89d2853f38b48d0f551f3dc76a3826 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Sat, 27 Jan 2018 20:48:26 +0900 Subject: [PATCH] Always transform helpers Helpers are transformed to save space and doesn't relate to the polyfill. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 2b58efc..e8e3a03 100644 --- a/src/index.js +++ b/src/index.js @@ -28,7 +28,7 @@ export default function (context, { const plugins = [ // Polyfills the runtime needed for async/await and generators [require.resolve('babel-plugin-transform-runtime'), { - helpers: !useBuiltIns, + helpers: true, polyfill: !useBuiltIns, regenerator: true, // Resolve the Babel runtime relative to the config.