fix(button): ghost style

This commit is contained in:
Vben
2021-04-19 23:51:43 +08:00
parent 38f5072695
commit f4af231172
2 changed files with 6 additions and 4 deletions

View File

@@ -13,8 +13,10 @@ export function configHmrPlugin(): Plugin {
if (file.match(/xml$/)) return [];
modules.forEach((m) => {
m.importedModules = new Set();
m.importers = new Set();
if (!m.url.match(/\.(css|less)/)) {
m.importedModules = new Set();
m.importers = new Set();
}
});
return modules;