From f3eed4428d5dd53b5c8fb9936ebe1c8c4680e41c Mon Sep 17 00:00:00 2001 From: James Brunton Date: Wed, 5 Nov 2025 08:55:22 +0000 Subject: [PATCH] Remove path aliases for the self folder from configs (#4825) # Description of Changes Remove path aliases from self folder (e.g. remove `@core` from `tsconfig.core.json`). It's not necessary and using it means that it's impossible for the other folders to override the behaviour. The only reason we should currently be using `@core` is in `proprietary` where we need to explicitly import the `core` version of the thing we're overriding so that we can re-expose or use the objects. --- frontend/tsconfig.core.json | 3 +-- frontend/tsconfig.proprietary.json | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/tsconfig.core.json b/frontend/tsconfig.core.json index a2491e09c..cb9b9902b 100644 --- a/frontend/tsconfig.core.json +++ b/frontend/tsconfig.core.json @@ -4,8 +4,7 @@ "paths": { "@app/*": [ "src/core/*" - ], - "@core/*": ["src/core/*"] + ] } }, "exclude": [ diff --git a/frontend/tsconfig.proprietary.json b/frontend/tsconfig.proprietary.json index bcb363546..09470b760 100644 --- a/frontend/tsconfig.proprietary.json +++ b/frontend/tsconfig.proprietary.json @@ -6,7 +6,6 @@ "src/proprietary/*", "src/core/*" ], - "@proprietary/*": ["src/proprietary/*"], "@core/*": ["src/core/*"] } }