diff --git a/vite.config.ts b/vite.config.ts index b6a01c4..d46fc9c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -53,7 +53,9 @@ export default (): UserConfig => { assetFileNames: "static/[ext]/[name]-[hash].[ext]", manualChunks(id) { if (id.includes("node_modules")) { - if (!["@cool-vue/crud"].find((e) => id.includes(e))) { + if ( + !["@cool-vue/crud", "@cool-vue/admin"].find((e) => id.includes(e)) + ) { let str = id.toString().split("node_modules/")[1]; if (str[0] == "@") {