frontend: убран рискованный manual chunking vue runtime
This commit is contained in:
@@ -120,31 +120,6 @@ export default defineConfig((): UserConfig => {
|
||||
return "charts";
|
||||
}
|
||||
|
||||
if (
|
||||
normalizedId.includes("element-plus") ||
|
||||
normalizedId.includes("@element-plus") ||
|
||||
normalizedId.includes("@popperjs")
|
||||
) {
|
||||
return "element-plus";
|
||||
}
|
||||
|
||||
if (
|
||||
normalizedId.includes("/vue/") ||
|
||||
normalizedId.includes("vue-router") ||
|
||||
normalizedId.includes("pinia") ||
|
||||
normalizedId.includes("vue-i18n") ||
|
||||
normalizedId.includes("@vueuse")
|
||||
) {
|
||||
return "vue-core";
|
||||
}
|
||||
|
||||
if (
|
||||
normalizedId.includes("qrcode.vue") ||
|
||||
normalizedId.includes("vuedraggable")
|
||||
) {
|
||||
return "ui-extra";
|
||||
}
|
||||
|
||||
return "vendor";
|
||||
},
|
||||
sanitizeFileName(name: string): string {
|
||||
|
||||
Reference in New Issue
Block a user