diff --git a/tsconfig.build.json b/tsconfig.build.json index fce7ed3..40ef7bc 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -2,6 +2,7 @@ "extends": "./tsconfig.json", "compilerOptions": { "declaration": true, + "declarationMap": true, "declarationDir": "dist/types", "emitDeclarationOnly": true }, diff --git a/tsconfig.json b/tsconfig.json index e8e0078..040f19a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,10 @@ { "compilerOptions": { - "target": "ES2018", + "target": "ES2020", "module": "ESNext", "lib": ["DOM", "DOM.Iterable", "ESNext"], "declaration": true, + "declarationMap": true, "declarationDir": "dist/types", "strict": true, "noUnusedLocals": true, @@ -19,7 +20,9 @@ "isolatedModules": true, "baseUrl": ".", "paths": { - "@/*": ["src/*"] + "@components/*": ["src/components/*"], + "@hooks/*": ["src/hooks/*"], + "@utils/*": ["src/utils/*"] } }, "include": ["src"],