1 Star 2 Fork 1

fe-hl / fe-monitor-sdk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
hl 提交于 2023-05-12 21:58 . feat: jsError、promiseError test
{
"compilerOptions": {
"typeRoots": ["node_modules/@types"],
"target": "ES2017", // ts编译的目标文件,我这里编译成es6 然后交给babel
"module": "ESNext", // 使用最新的语法
"strict": true, // 开启严格模式
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node", // 模块解析策略是node
"allowSyntheticDefaultImports": true,
"esModuleInterop": true, // 开启es与其他模块的交互
"declaration": true, // 开启声明文件的输出
"removeComments": true, // 去注释
"resolveJsonModule": true, // 允许导入json模块
"skipLibCheck": true, // 跳过库的检查
"noUnusedLocals": true,
"experimentalDecorators": true, // 装饰器特性
"declarationDir": "./lib", // 开启声明文件输出目录
"baseUrl": ".",
"forceConsistentCasingInFileNames": true, // 强制区分大小写
"noLib": false, // 不引入默认库文件
},
"types": [
"webpack-env"
],
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
],
// 只编译src目录下面的文件
"include": [
"src/**/*.ts",
],
"exclude": [
"node_modules"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/fe-hl/fe-monitor-sdk.git
git@gitee.com:fe-hl/fe-monitor-sdk.git
fe-hl
fe-monitor-sdk
fe-monitor-sdk
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891