排除dayjs打包

config.externals中添加dayjs,将其排除打包
pull/8053/head
kekeslife 2025-03-07 12:24:21 +08:00 committed by GitHub
parent aa211fd789
commit 6308a8d6c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -195,6 +195,13 @@ All rights reserved.
amd: 'vue',
module: 'vue',
},
dayjs: {
root: 'dayjs',
commonjs2: 'dayjs',
commonjs: 'dayjs',
amd: 'dayjs',
module: 'dayjs',
},
},
];
if (esm) {