PR-342468: fixing auto import of types on the build bundle.

This commit is contained in:
2025-07-16 18:38:25 +00:00
parent f1c8a03ae1
commit b1ef41f175

View File

@ -4,6 +4,15 @@
"description": "A starter kit for create a React component Library with storybook", "description": "A starter kit for create a React component Library with storybook",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "dist/index.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": { "scripts": {
"start": "npm run storybook", "start": "npm run storybook",
"build": "webpack", "build": "webpack",