diff --git a/dev/tsconfig.json b/dev/tsconfig.json index 16d5dac..99c95fd 100644 --- a/dev/tsconfig.json +++ b/dev/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../tsconfig.json", + "extends": "../tsconfig.base.json", "compilerOptions": { "baseUrl": "..", "paths": { diff --git a/tsconfig.base.json b/tsconfig.base.json new file mode 100644 index 0000000..0bd50e7 --- /dev/null +++ b/tsconfig.base.json @@ -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 + } +} diff --git a/tsconfig.json b/tsconfig.json index 9d64fa1..15fe011 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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"]