Generate lib/core-webpack with ts-up

This commit is contained in:
GanHingLong0423 2022-08-10 22:07:45 +08:00 committed by GitHub
parent a92f6d88f3
commit f57dbd9754
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,9 +19,17 @@
"url": "https://opencollective.com/storybook"
},
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"types/**/*",
@ -31,7 +39,7 @@
],
"scripts": {
"check": "tsc --noEmit",
"prepare": "node ../../../scripts/prepare.js"
"prepare": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-common": "7.0.0-alpha.18",
@ -46,5 +54,10 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
]
},
"gitHead": "bd59f1eef0f644175abdb0d9873ed0553f431f53"
}