This commit is contained in:
seb
2026-10-05 22:17:57 +02:00
parent 1c6f4e6706
commit dd011a26f2
5 changed files with 27 additions and 9 deletions

View File

@@ -287,6 +287,15 @@ export default defineConfig(({ command }) => ({
},
},
},
chunkSizeWarningLimit: 1000,
modulePreload: {
resolveDependencies(filename, deps, { hostType }) {
if (hostType === 'html') {
return deps.filter((dep) => !dep.includes('ag-grid') && !dep.includes('AutomatGrid'));
}
return deps;
},
},
},
plugins: [
react(),