From 6c28a8194028f237d7e72da65a72fcbc945ec8c3 Mon Sep 17 00:00:00 2001 From: LautaroPetaccio Date: Tue, 21 Jan 2025 17:05:55 -0300 Subject: [PATCH] fix: tsconfig node --- tsconfig.node.json | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tsconfig.node.json b/tsconfig.node.json index 601e332bc..8c67e2da2 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -3,8 +3,23 @@ "composite": true, "skipLibCheck": true, "module": "ESNext", + "jsx": "react-jsx", "moduleResolution": "bundler", - "allowSyntheticDefaultImports": true + "allowSyntheticDefaultImports": true, + "baseUrl": "src", + "paths": { + "components/*": ["components/*"], + "config/*": ["config/*"], + "contracts/*": ["contracts/*"], + "ecsScene/*": ["ecsScene/*"], + "experiments/*": ["experiments/*"], + "icons/*": ["icons/*"], + "images/*": ["images/*"], + "lib/*": ["lib/*"], + "modules/*": ["modules/*"], + "routing/*": ["routing/*"], + "specs/*": ["specs/*"] + } }, "include": ["vite.config.ts", "src"] }