From c7ba938f94027521b245779a1d8ee8defaf8a0c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Loridan?= Date: Thu, 23 Sep 2021 10:40:01 +0200 Subject: [PATCH] fix(tsconfig): add baseUrl --- tsconfig.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 33a51e49..4287d407 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,13 @@ { "compilerOptions": { + "baseUrl": ".", "outDir": "dist", "module": "esnext", "target": "esnext", - "lib": ["dom", "esnext"], + "lib": [ + "dom", + "esnext" + ], "jsx": "react", "moduleResolution": "node", "declaration": true, @@ -21,6 +25,14 @@ "allowSyntheticDefaultImports": true, "esModuleInterop": true }, - "include": ["src"], - "exclude": ["node_modules", "build", "dist", "example", "rollup.config.js"] -} + "include": [ + "src" + ], + "exclude": [ + "node_modules", + "build", + "dist", + "example", + "rollup.config.js" + ] +} \ No newline at end of file