build: skipLibCheck and output sourceMap

This commit is contained in:
xiaowei 2021-01-05 18:40:11 +08:00
parent 34d93e4518
commit 8d750c7b07

View File

@ -1,12 +1,13 @@
{ {
"compilerOptions": { "compilerOptions": {
"outDir": "./dist/", "outDir": "./dist/",
"sourceMap": false, "sourceMap": true,
"allowJs":true, "allowJs":true,
"target": "es6", "target": "es6",
"module": "commonjs", "module": "commonjs",
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": false, "noUnusedParameters": false,
"skipLibCheck": true,
"typeRoots": [ "typeRoots": [
"node", "node",
"node_modules/@types", "node_modules/@types",