From 34ad953c953a395ba3e51c8125034a6bb65b2a79 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Mon, 13 Feb 2023 22:49:42 +0530 Subject: Fixed not being able to import modules in scripts. --- config/tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'config/tsconfig.json') diff --git a/config/tsconfig.json b/config/tsconfig.json index 081a105..7b1d1ef 100644 --- a/config/tsconfig.json +++ b/config/tsconfig.json @@ -11,12 +11,13 @@ "allowJs": true, "allowSyntheticDefaultImports": true, "skipLibCheck": true, - "baseUrl": "./", + "moduleDetection": "force", + "baseUrl": "../", "paths": { "@/*": ["src/*"] } }, "exclude": [ - "./node_modules/**/*" + "../node_modules/**/*" ] } -- cgit v1.2.3