Skip to content

Commit

Permalink
remove ineffectual helper names filter (#13841)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmare committed Oct 12, 2021
1 parent 2df453d commit 2403a48
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/babel-helpers/src/index.ts
Expand Up @@ -354,8 +354,6 @@ export function ensure(name: string, newFileClass?) {
loadHelper(name);
}

export const list = Object.keys(helpers)
.map(name => name.replace(/^_/, ""))
.filter(name => name !== "__esModule");
export const list = Object.keys(helpers).map(name => name.replace(/^_/, ""));

export default get;

0 comments on commit 2403a48

Please sign in to comment.