diff --git a/packages/chakra-ui-lib/tsconfig.json b/packages/chakra-ui-lib/tsconfig.json index 54830e08..1a373082 100644 --- a/packages/chakra-ui-lib/tsconfig.json +++ b/packages/chakra-ui-lib/tsconfig.json @@ -20,7 +20,9 @@ "noUnusedParameters": true, "baseUrl": "./", "jsx": "react-jsx", - "rootDir": "src" + "rootDir": "src", + "declaration": true, + "declarationDir": "lib" }, "include": ["./src"] } diff --git a/packages/core/tsconfig.json b/packages/core/tsconfig.json index e1ae858b..9feeba8a 100644 --- a/packages/core/tsconfig.json +++ b/packages/core/tsconfig.json @@ -6,7 +6,9 @@ "lib": ["es6"], "composite": true, "rootDir": "src", - "module": "ESNext" + "module": "ESNext", + "declaration": true, + "declarationDir": "lib" }, "include": ["src/**/*.ts"], "exclude": ["__tests__/**/*.ts"] diff --git a/packages/editor/tsconfig.json b/packages/editor/tsconfig.json index 54830e08..1a373082 100644 --- a/packages/editor/tsconfig.json +++ b/packages/editor/tsconfig.json @@ -20,7 +20,9 @@ "noUnusedParameters": true, "baseUrl": "./", "jsx": "react-jsx", - "rootDir": "src" + "rootDir": "src", + "declaration": true, + "declarationDir": "lib" }, "include": ["./src"] } diff --git a/packages/runtime/tsconfig.json b/packages/runtime/tsconfig.json index 54830e08..1a373082 100644 --- a/packages/runtime/tsconfig.json +++ b/packages/runtime/tsconfig.json @@ -20,7 +20,9 @@ "noUnusedParameters": true, "baseUrl": "./", "jsx": "react-jsx", - "rootDir": "src" + "rootDir": "src", + "declaration": true, + "declarationDir": "lib" }, "include": ["./src"] }