diff --git a/webview-src/tsconfig.json b/webview-src/tsconfig.json index a120087d..bda1b10d 100755 --- a/webview-src/tsconfig.json +++ b/webview-src/tsconfig.json @@ -1,16 +1,24 @@ { "compilerOptions": { - "target": "ES5", + "target": "ES2019", "strict": true, - "allowJs": true, + "lib": [ + "ES2019", + "ES2020.Promise", + "ES2020.String", + "DOM", + ], + "noEmitOnError": true, + "isolatedModules": true, + // module resolution "esModuleInterop": true, - "baseUrl": ".", - "paths": { - "types": ["@types"] - }, + "moduleResolution": "node", + // advanced + "forceConsistentCasingInFileNames": true, + "skipLibCheck": true, "declaration": true, "declarationDir": "../webview-dist", - "rootDir": "./" + "rootDir": "./", }, - "include": ["./"] -} + "exclude": ["node_modules"] +} \ No newline at end of file