Skip to content

Commit

Permalink
fix: modify tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 31, 2023
1 parent 3e302b7 commit 82786a9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 26 deletions.
9 changes: 9 additions & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig",
"include": [
"./"
],
"compilerOptions": {
"noEmit": false
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"prepare": "npm run build",
"doc": "kkt build --app-src ./example",
"start": "kkt start --app-src ./example",
"build": "tsbb build src/*.tsx --use-babel",
"watch": "tsbb watch src/*.tsx --use-babel --bail",
"build": "tsbb build src/*.tsx --use-babel --bail",
"watch": "tsbb watch src/*.tsx --use-babel",
"map": "source-map-explorer build/static/js/*.js --html build/website-result.html"
},
"repository": {
Expand Down
24 changes: 3 additions & 21 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
{
"extends": "../tsconfig",
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"declaration": true,
"baseUrl": ".",
"jsx": "react-jsx"
},
"include": ["../src"]
"noEmit": true
}
}
4 changes: 1 addition & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"noEmit": true
},
"include": [
"src",
"example",
".kktrc.ts"
"src"
]
}

0 comments on commit 82786a9

Please sign in to comment.