10000 fix: Don't load browserslist in block-hoist-plugin (#13182) · babel/babel@adb5ada · GitHub
[go: up one dir, main page]

Skip to content

Commit adb5ada

Browse files
author
Micha Reiser
authored
fix: Don't load browserslist in block-hoist-plugin (#13182)
* fix: Don't load browserslist in block-hoist-plugin * Remove test case * Remove added new line
1 parent 0c425cf commit adb5ada

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/babel-core/src/transformation/block-hoist-plugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default function loadBlockHoistPlugin(): Plugin {
1212
const config = loadConfig.sync({
1313
babelrc: false,
1414
configFile: false,
15+
browserslistConfigFile: false,
1516
plugins: [blockHoistPlugin],
1617
});
1718
LOADED_PLUGIN = config ? config.passes[0][0] : undefined;

0 commit comments

Comments
 (0)
0