diff --git a/templates/skeleton/tsconfig.json b/templates/skeleton/tsconfig.json index 54587bd582..1d90e0a30a 100644 --- a/templates/skeleton/tsconfig.json +++ b/templates/skeleton/tsconfig.json @@ -32,7 +32,9 @@ "vite/client" ], "paths": { - "~/*": ["app/*"] + "~/*": ["app/*"], + "@shopify/hydrogen": ["../../packages/hydrogen/src"], + "@shopify/hydrogen/*": ["../../packages/hydrogen/src/*"] }, "noEmit": true, "rootDirs": [".", "./.react-router/types"], diff --git a/tsconfig.json b/tsconfig.json index 1eb396c269..43b62f8241 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ "allowSyntheticDefaultImports": true, "strict": true, "declaration": true, + "declarationMap": true, "isolatedModules": true, "esModuleInterop": true, "resolveJsonModule": true,