oak-sample-demo/tsconfig.web.json

47 lines
1.0 KiB
JSON

{
"extends": "./tsconfig.paths.json",
"compilerOptions": {
"module": "ESNext",
"target": "ESNext",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"importHelpers": true,
"strict": true,
"moduleResolution": "Node",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
// "outDir": "lib", /* Redirect output structure to the directory. */
// "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"types": [
"node",
"wechat-miniprogram",
"react"
],
"resolveJsonModule": true,
"jsx": "react"
},
"include": [
"./src/**/*.js",
"./src/**/*.ts",
"./src/**/*.tsx",
"./web/src/**/*.js",
"./web/src/**/*.ts",
"./web/src/**/*.tsx",
"./typings/*.d.ts"
],
"exclude": [
"node_modules",
"scripts",
"test",
"**/*.spec.ts",
"**/*.test.ts",
"**/*.test.tsx",
"./wechatMp",
"./native"
]
}