feat(utils): 添加数组、字符串、异步工具函数和测试 feat(utils): 实现日志、编码和类型工具模块 fix(web): 修复Service Worker缓存策略和CSP头 ci: 添加bundle大小检查工作流 build: 添加size-limit依赖和配置 perf(web): 优化vite分包策略
22 lines
559 B
JSON
22 lines
559 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"target": "ES2020",
|
|
"lib": ["ES2020", "DOM"],
|
|
"types": ["vite/client"],
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src"
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.test.ts"]
|
|
}
|