From bad96b78879f296d5b9e7adacb03756b0f58427a Mon Sep 17 00:00:00 2001 From: Ven Date: Mon, 28 Nov 2022 13:37:55 +0100 Subject: Path aliases, better lazyWebpack (#268) --- tsconfig.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tsconfig.json') diff --git a/tsconfig.json b/tsconfig.json index aa12532..a55c1fe 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,7 +14,16 @@ "strict": true, "noImplicitAny": false, "target": "ESNEXT", - "jsx": "preserve" + "jsx": "preserve", + + "baseUrl": "./src/", + "paths": { + "@webpack": ["./webpack"], + "@webpack/common": ["./webpack/common"], + "@utils/*": ["./utils/*"], + "@api/*": ["./api/*"], + "@components/*": ["./components/*"] + } }, "include": ["src/**/*"] } -- cgit