Skip to content

Commit

Permalink
Merge pull request #19322 from jeangregorfonrose/jean-storybook
Browse files Browse the repository at this point in the history
Build: Bundle addons/essentials with ts-up
  • Loading branch information
ndelangen authored Oct 4, 2022
2 parents 448f5f4 + 16dccf7 commit ecae3e3
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,24 @@
"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/**/*",
"README.md"
],
"scripts": {
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "7.0.0-alpha.34",
Expand Down Expand Up @@ -98,5 +106,11 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
],
"platform": "node"
},
"gitHead": "fc90fc875462421c1faa35862ac4bc436de8e75f"
}

0 comments on commit ecae3e3

Please sign in to comment.