From 81baf9c048be4276c46ab53847913579d81fc976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amaro=20Mari=C3=B1o?= <1252707+amalv@users.noreply.github.com> Date: Wed, 11 Mar 2020 02:17:18 +0100 Subject: [PATCH] fix: Update tsconfig to fix dist folder generation --- tsconfig.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 85cbda4..e8ebc66 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -13,13 +13,16 @@ "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, - "module": "esnext", + "module": "commonjs", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react" + "jsx": "react", + "rootDirs": ["src", "stories"], + "baseUrl": "src", + "experimentalDecorators": true, + "emitDecoratorMetadata": true }, - "include": [ - "src" - ] + "include": ["src/**/*"], + "exclude": ["node_modules"], }