chore: seed migration objects batch 15

This commit is contained in:
dev
2026-10-18 13:25:46 +08:00
parent 970d8c5918
commit 963b1f8154
116 changed files with 17867 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
/**
* Introduces component library styles on demand.
* https://github.com/anncwb/vite-plugin-style-import
*/
import styleImport from 'vite-plugin-style-import';
export function configStyleImportPlugin(isBuild: boolean) {
if (!isBuild) return [];
const styleImportPlugin = styleImport({
libs: [
{
libraryName: 'ant-design-vue',
esModule: true,
resolveStyle: (name) => {
return `ant-design-vue/es/${name}/style/index`;
},
},
],
});
return styleImportPlugin;
}