Skip to content

Commit

Permalink
remove extra exports from channels package
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Oct 20, 2023
1 parent ca5376b commit f35f073
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
29 changes: 1 addition & 28 deletions code/lib/channels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,11 @@
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./dist/postmessage/index": {
"types": "./dist/postmessage/index.d.ts",
"node": "./dist/postmessage/index.js",
"require": "./dist/postmessage/index.js",
"import": "./dist/postmessage/index.mjs"
},
"./dist/websocket/index": {
"types": "./dist/websocket/index.d.ts",
"node": "./dist/websocket/index.js",
"require": "./dist/websocket/index.js",
"import": "./dist/websocket/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"dist/postmessage/index": [
"dist/postmessage/index.d.ts"
],
"dist/websocket/index": [
"dist/websocket/index.d.ts"
]
}
},
"files": [
"dist/**/*",
"README.md",
Expand Down Expand Up @@ -84,9 +59,7 @@
},
"bundler": {
"entries": [
"./src/index.ts",
"./src/postmessage/index.ts",
"./src/websocket/index.ts"
"./src/index.ts"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17"
Expand Down
2 changes: 0 additions & 2 deletions code/lib/preview/src/globals/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import * as CHANNEL_POSTMESSAGE from '@storybook/channels/dist/postmessage/index';
import * as CHANNEL_WEBSOCKET from '@storybook/channels/dist/websocket/index';
import * as CHANNELS from '@storybook/channels';
import * as CLIENT_LOGGER from '@storybook/client-logger';
import * as CORE_EVENTS from '@storybook/core-events';
Expand Down

0 comments on commit f35f073

Please sign in to comment.