Ensure that the internal plugin load does not read the user's config. (#7783)
This commit is contained in:
@@ -13,6 +13,7 @@ export default function loadBlockHoistPlugin(): Plugin {
|
||||
// which loads this file, and this 'loadConfig' loading plugins.
|
||||
const config = loadConfig({
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
plugins: [blockHoistPlugin],
|
||||
});
|
||||
LOADED_PLUGIN = config ? config.passes[0][0] : undefined;
|
||||
|
||||
Reference in New Issue
Block a user