From b1ef41f17514fdfefee422cc0e11f5d55b186006 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 16 Jul 2025 18:38:25 +0000 Subject: [PATCH] PR-342468: fixing auto import of types on the build bundle. --- package.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package.json b/package.json index c267f5d..e8600c1 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,15 @@ "description": "A starter kit for create a React component Library with storybook", "bin": "./bin/cli.js", "main": "dist/index.js", + "types": "dist/types/index.d.ts", + "exports": { + ".": { + "types": "./dist/types/index.d.ts", + "import": "./dist/index.js", + "require": "./dist/index.js" + }, + "./dist/index.css": "./dist/index.css" + }, "scripts": { "start": "npm run storybook", "build": "webpack",