mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
support base components folder
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ export default defineConfig(() => {
|
|||||||
return 'common';
|
return 'common';
|
||||||
} else if (/[\\/]src[\\/]lib[\\/](map[\\/]|ui[\\/]common|[a-zA-Z0-9-_]+\.(js|ts))/i.test(id)) {
|
} else if (/[\\/]src[\\/]lib[\\/](map[\\/]|ui[\\/]common|[a-zA-Z0-9-_]+\.(js|ts))/i.test(id)) {
|
||||||
return 'common';
|
return 'common';
|
||||||
} else if (/[\\/]src[\\/]components[\\/]common[\\/]/i.test(id)) {
|
} else if (/[\\/]src[\\/]components[\\/](base|common)[\\/]/i.test(id)) {
|
||||||
return 'common';
|
return 'common';
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user