Reorder imports

This commit is contained in:
Kilian Hofmann 2024-07-26 02:41:39 +02:00
parent 103b93184f
commit a0b327f744
13 changed files with 167 additions and 167 deletions

File diff suppressed because one or more lines are too long

1
exam/dist/assets/index-Db_otgxE.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

102
exam/dist/assets/vendor_mui-zY3q7frF.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

12
exam/dist/index.html vendored
View File

@ -5,12 +5,12 @@
<link rel="icon" type="image/svg+xml" href="/phpCourse/exam/dist/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-Dah7eWEL.js"></script>
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor-CKNY8FYg.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_react-CEGsRJaz.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_tanstack-Be5vPFVC.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_mui-DGbjTDaU.js">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/vendor-D83Ey19k.css">
<script type="module" crossorigin src="/phpCourse/exam/dist/assets/index-Db_otgxE.js"></script>
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_tanstack-C4tHEw0C.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_X-NJT_EpIc.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_mui-zY3q7frF.js">
<link rel="modulepreload" crossorigin href="/phpCourse/exam/dist/assets/vendor_A_react-Bhse1i8S.js">
<link rel="stylesheet" crossorigin href="/phpCourse/exam/dist/assets/vendor_X-D83Ey19k.css">
</head>
<body>
<div id="root"></div>

File diff suppressed because one or more lines are too long

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
}
},
},