code refactor

This commit is contained in:
MaysWind
2023-07-02 21:17:08 +08:00
parent 2b2d3b9517
commit 9403afc392
4 changed files with 71 additions and 14 deletions
+2
View File
@@ -130,6 +130,8 @@ export default defineConfig(async () => {
return 'common';
} else if (/[\\/]src[\\/]lib[\\/](map[\\/]|[a-zA-Z0-9-_]+\.js)/i.test(id)) {
return 'common';
} else if (/[\\/]src[\\/]components[\\/]common[\\/]/i.test(id)) {
return 'common';
}
}
},