Avoid usage of exports/module.exports/require().

This commit is contained in:
Logan Smyth
2017-02-20 00:52:24 -08:00
parent d9f01cbce6
commit 4ee385e96c
32 changed files with 141 additions and 105 deletions

View File

@@ -1,8 +1,9 @@
import remapAsyncToGenerator from "babel-helper-remap-async-to-generator";
import syntaxAsyncFunctions from "babel-plugin-syntax-async-functions";
export default function () {
return {
inherits: require("babel-plugin-syntax-async-functions"),
inherits: syntaxAsyncFunctions,
visitor: {
Function(path, state) {