代码拉取完成,页面将自动刷新
{
"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"
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。