1
0
mirror of synced 2026-03-23 19:28:40 +08:00

chore: 更新vite

This commit is contained in:
roymondchen
2026-03-17 16:52:46 +08:00
parent 3e4d49dd45
commit 6d91a7a844
16 changed files with 1344 additions and 1143 deletions

View File

@@ -67,7 +67,7 @@ async function build({ packageName, format, pkg, packagesDir }) {
cssFileName: 'style',
},
rollupOptions: {
rolldownOptions: {
// 确保外部化处理那些你不想打包进库的依赖
external(id) {
if (format === 'umd' && id === 'lodash-es') {