Skip to content

Commit

Permalink
Merge pull request #18912 from GanHingLong0423/patch-3
Browse files Browse the repository at this point in the history
Generate lib/core-webpack with ts-up
  • Loading branch information
ndelangen authored Aug 23, 2022
2 parents 874d634 + e7defc6 commit ce0b020
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions code/lib/core-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/**/*",
Expand All @@ -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.23",
Expand All @@ -46,5 +54,11 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
],
"platform": "node"
},
"gitHead": "0900e20acfbc12551c6a3f788b8de5dd6af5f80a"
}

0 comments on commit ce0b020

Please sign in to comment.