Skip to content

Commit

Permalink
Merge pull request #19388 from javier-arango/feat/lib-channel-postmes…
Browse files Browse the repository at this point in the history
…sage-tsup

Build: Bundle lib/channel-postmessage with ts-up
  • Loading branch information
javier-arango authored Oct 13, 2022
2 parents 5e87fd3 + 3fe8c17 commit 349b2e5
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions code/lib/channel-postmessage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,17 @@
},
"license": "MIT",
"sideEffects": false,
"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",
Expand All @@ -31,7 +39,7 @@
],
"scripts": {
"check": "../../../scripts/node_modules/.bin/tsc --noEmit",
"prep": "node ../../../scripts/prepare.js"
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/channels": "7.0.0-alpha.37",
Expand All @@ -47,5 +55,10 @@
"publishConfig": {
"access": "public"
},
"bundler": {
"entries": [
"./src/index.ts"
]
},
"gitHead": "82667a655108283aafc828427f00bb3590a334e5"
}

0 comments on commit 349b2e5

Please sign in to comment.