From cf18644015d9a8a43b0b9370f213e0b93687f4bb Mon Sep 17 00:00:00 2001 From: Yuta Hiroto Date: Thu, 1 Mar 2018 23:39:17 +0900 Subject: [PATCH] Add babel-plugin-transform-async-to-module-method to packageData.js --- fixtures/deps.json | 1 + src/packageData.js | 1 + 2 files changed, 2 insertions(+) diff --git a/fixtures/deps.json b/fixtures/deps.json index 357b1ca..7dbb503 100644 --- a/fixtures/deps.json +++ b/fixtures/deps.json @@ -1,6 +1,7 @@ { "babel": "5.0.0", "babel-plugin-transform-async-to-generator": "6.0.0", + "babel-plugin-transform-async-to-module-method": "6.0.0", "babel-plugin-transform-eval": "6.0.0", "babel-plugin-transform-exponentiation-operator": "6.0.0", "babel-plugin-transform-flow-comments": "6.0.0", diff --git a/src/packageData.js b/src/packageData.js index 9fe6bfd..34f5aef 100644 --- a/src/packageData.js +++ b/src/packageData.js @@ -1,5 +1,6 @@ const transformPlugins = { 'babel-plugin-transform-async-to-generator': '@babel/plugin-transform-async-to-generator', + 'babel-plugin-transform-async-to-module-method': '@babel/plugin-transform-async-to-generator', 'babel-plugin-transform-eval': '@babel/plugin-transform-eval', 'babel-plugin-transform-exponentiation-operator': '@babel/plugin-transform-exponentiation-operator', 'babel-plugin-transform-flow-comments': '@babel/plugin-transform-flow-comments',