fix: check config after alter

This commit is contained in:
cha0s 2022-02-26 10:46:05 -06:00
parent f3bd6e73cf
commit bed008ad26

View File

@ -63,6 +63,10 @@ const buildConfigs = async () => {
return webpackConfig;
}),
);
if (0 === webpackConfigs.length) {
debug('no webpack configuration found! aborting...');
await new Promise(() => {});
}
return webpackConfigs;
};