添加测试信息

This commit is contained in:
yuding
2025-12-04 18:39:07 +08:00
parent c45cdc9f7d
commit 8a727c4485
15 changed files with 38203 additions and 441 deletions

View File

@@ -9,10 +9,21 @@ export default defineConfig(({ command }) => {
// 移除 Vue 插件
dts({
include: ['src'],
rollupTypes: true
exclude: [
'src/**/*.es.js',
'src/bim-engine-sdk.es.js',
'**/*.es.js'
], // 排除第三方 SDK 文件,避免类型分析错误
rollupTypes: true,
logLevel: 'warn', // 只显示警告和错误
}),
cssInjectedByJs()
],
// 开发服务器配置
server: {
port: 3000,
open: '/demo/index.html', // 自动打开 demo 页面
},
build: {
lib: {
entry: resolve(__dirname, 'src/index.ts'),