添加测试信息

This commit is contained in:
yuding
2025-12-04 18:41:11 +08:00
parent 8a727c4485
commit 244891ceec
28 changed files with 41330 additions and 0 deletions

22
demo/vite.config.js Normal file
View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vite';
import { resolve } from 'path';
export default defineConfig({
root: '.',
server: {
port: 8080,
open: true,
// 允许访问父目录的文件(用于加载 SDK
fs: {
allow: ['..']
}
},
build: {
outDir: 'dist',
rollupOptions: {
input: {
main: resolve(__dirname, 'index.html')
}
}
}
});