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
This commit is contained in:
Micha Reiser 2021-04-21 14:20:17 +01:00 committed by GitHub
parent 0c425cfb97
commit adb5adac0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ export default function loadBlockHoistPlugin(): Plugin {
const config = loadConfig.sync({
babelrc: false,
configFile: false,
browserslistConfigFile: false,
plugins: [blockHoistPlugin],
});
LOADED_PLUGIN = config ? config.passes[0][0] : undefined;