Reorder imports

This commit is contained in:
2024-07-26 02:41:39 +02:00
parent 103b93184f
commit a0b327f744
13 changed files with 167 additions and 167 deletions
+4 -4
View File
@@ -18,17 +18,17 @@ export default defineConfig({
console.log('ID', cleanID);
if (id.includes('node_modules')) {
if (cleanID.includes('react')) {
return 'vendor_A_react';
}
if (cleanID.includes('@mui/') || cleanID.includes('@emotion')) {
return 'vendor_mui';
}
if (cleanID.includes('@tanstack')) {
return 'vendor_tanstack';
}
if (cleanID.includes('react')) {
return 'vendor_react';
}
return 'vendor'; // all other package goes here
return 'vendor_X'; // all other package goes here
}
},
},