mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 11:35:58 +08:00
perf(table): remove ExpandIcon
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
import type { Plugin } from 'vite';
|
||||
|
||||
/**
|
||||
* TODO
|
||||
* Temporarily solve the Vite circular dependency problem, and wait for a better solution to fix it later. I don't know what problems this writing will bring.
|
||||
* @returns
|
||||
*/
|
||||
|
||||
export function configHmrPlugin(): Plugin {
|
||||
return {
|
||||
name: 'singleHMR',
|
||||
// handleHotUpdate({ modules, file }) {
|
||||
// if (file.match(/xml$/)) return [];
|
||||
|
||||
// modules.forEach((m) => {
|
||||
// if (!m.url.match(/\.(css|less)/)) {
|
||||
// m.importedModules = new Set();
|
||||
// m.importers = new Set();
|
||||
// }
|
||||
// });
|
||||
|
||||
// return modules;
|
||||
// },
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user