Skip to content

Commit

Permalink
Add missing () =>
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Aug 30, 2023
1 parent f00a17f commit 47ba4c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-preset-env/src/available-plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,6 @@ if (!process.env.BABEL_8_BREAKING) {
// @ts-expect-error unknown key
availablePlugins["unicode-sets-regex"] = USE_ESM_OR_STANDALONE
? e()
: require("@babel/plugin-syntax-unicode-sets-regex");
: () => require("@babel/plugin-syntax-unicode-sets-regex");
}
}

0 comments on commit 47ba4c4

Please sign in to comment.