Skip to content

Commit

Permalink
build: add back tsconfig.base.json
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Mar 25, 2024
1 parent 1b18212 commit ddd7c4a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dev/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../tsconfig.json",
"extends": "../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"paths": {
Expand Down
13 changes: 13 additions & 0 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": "@meteorlxy/tsconfig/base.json",
"compilerOptions": {
"lib": ["DOM", "ES2022"],
"module": "ES2022",
"moduleResolution": "Bundler",
"target": "ES2022",

"allowSyntheticDefaultImports": true,
"noEmitOnError": true,
"noImplicitAny": false
}
}
10 changes: 1 addition & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
{
"extends": "@meteorlxy/tsconfig/base.json",
"extends": "./tsconfig.base.json",
"compilerOptions": {
"lib": ["DOM", "ES2022"],
"module": "ES2022",
"moduleResolution": "Bundler",
"target": "ES2022",

"baseUrl": ".",
"paths": {
"vue-showdown": ["src/index.ts"]
},

"allowSyntheticDefaultImports": true,
"declaration": false,
"noEmitOnError": true,
"noImplicitAny": false,
"resolveJsonModule": true
},
"include": ["./src/**/*", "./docs/.vuepress/**/*", "./vite.config.ts"]
Expand Down

0 comments on commit ddd7c4a

Please sign in to comment.