chore: 更新 bun.config.mjs 和 package.json,调整依赖版本和配置

This commit is contained in:
2026-02-21 05:38:14 +08:00
parent 77273bcfeb
commit 672208ab6b
3 changed files with 34 additions and 62 deletions

View File

@@ -16,11 +16,10 @@ await Bun.build({
entry: `${naming}.js`,
},
external,
env: 'KEVISUAL_*',
// 启用模块转换和优化
minify: false,
splitting: false,
sourcemap: 'external',
// sourcemap: 'external',
// 处理 CommonJS 到 ESM 的转换
plugins: [{
name: 'transform-requires',