feat: add keepalive

This commit is contained in:
xiaoxian521
2021-08-29 10:20:59 +08:00
parent 860433bb22
commit 8187dbff0e
6 changed files with 90 additions and 48 deletions

View File

@@ -16,27 +16,39 @@
"baseUrl": ".",
"allowJs": false,
"resolveJsonModule": true, // 包含导入的模块。json的扩展
"lib": ["dom", "esnext"],
"lib": [
"dom",
"esnext"
],
"incremental": true,
"paths": {
"/@/*": ["src/*"],
"/#/*": ["types/*"]
"/@/*": [
"src/*"
],
"/#/*": [
"types/*"
]
},
"types": ["node", "vite/client"],
"typeRoots": ["./node_modules/@types/", "./types"]
"types": [
"node",
"vite/client"
],
"typeRoots": [
"./node_modules/@types/",
"./types"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"src/utils/path.js",
"types/**/*.d.ts",
"types/**/*.ts",
"types/global.d.ts",
"types/shims-tsx.d.ts",
"types/shims-vue.d.ts",
"mock/asyncRoutes.ts"
"types/*.d.ts",
"mock/*.ts",
"vite.config.ts"
],
"exclude": ["node_modules", "dist", "**/*.js"]
}
"exclude": [
"node_modules",
"dist",
"**/*.js"
]
}