Skip to content

Commit

Permalink
Add missing names found by the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Nov 18, 2018
1 parent 0959de8 commit 42985a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-plugin-external-helpers/src/index.js
Expand Up @@ -18,6 +18,7 @@ export default declare((api, options) => {
const helperWhitelist = whitelist ? new Set(whitelist) : null;

return {
name: "external-helpers",
pre(file) {
file.set("helperGenerator", name => {
// If the helper didn't exist yet at the version given, we bail
Expand Down
Expand Up @@ -30,6 +30,8 @@ export default declare((api, options) => {
}

return {
name: "transform-async-to-generator",

visitor: {
Function(path, state) {
if (!path.node.async || path.node.generator) return;
Expand Down
1 change: 1 addition & 0 deletions packages/babel-plugin-transform-for-of/src/index.js
Expand Up @@ -178,6 +178,7 @@ export default declare((api, options) => {
}

return {
name: "transform-for-of",
visitor: {
ForOfStatement(path, state) {
const right = path.get("right");
Expand Down

0 comments on commit 42985a7

Please sign in to comment.