Skip to content

Commit

Permalink
Accept Babel 8 alpha in version check
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Dec 11, 2023
1 parent 2a85015 commit 8a5d358
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export default function definePolyfillProvider<Options>(
factory: PolyfillProvider<Options>,
) {
return declare((babelApi, options: PluginOptions, dirname: string) => {
babelApi.assertVersion(7);
babelApi.assertVersion("^7.0.0 || ^8.0.0-alpha.0");
const { traverse } = babelApi;

let debugLog;
Expand Down

0 comments on commit 8a5d358

Please sign in to comment.