Skip to content

Commit

Permalink
remove ineffectual helper names filter
Browse files Browse the repository at this point in the history
  • Loading branch information
lightmare committed Oct 11, 2021
1 parent 2df453d commit b2bf3a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/babel-helpers/src/index.ts
Original file line number Diff line number Diff line change
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 b2bf3a9

Please sign in to comment.