Avoid usage of exports/module.exports/require().
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user