mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
优化
This commit is contained in:
parent
cd524003b3
commit
74b83f645c
@ -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] == "@") {
|
||||
|
Loading…
Reference in New Issue
Block a user