mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-20 19:48:18 -06:00
PR-342468: fixing auto import of types on the build bundle.
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user