-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19978 from storybookjs/vite/prebundle
Vite: Fix prebundling
- Loading branch information
Showing
30 changed files
with
145 additions
and
526 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
// TODO: figure out if any of this is required | ||
// possibly make it not required, framework should never be imported directly, except for types in config files | ||
|
||
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; | ||
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; | ||
|
||
export { addons } from '@storybook/preview-api'; | ||
export { composeConfigs, PreviewWeb } from '@storybook/preview-api'; | ||
export { ClientApi } from '@storybook/preview-api'; | ||
|
||
export type { StorybookConfig } from '@storybook/builder-vite'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; | ||
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; | ||
|
||
export { addons } from '@storybook/preview-api'; | ||
export { composeConfigs, PreviewWeb } from '@storybook/preview-api'; | ||
export { ClientApi } from '@storybook/preview-api'; | ||
|
||
export type { StorybookConfig } from '@storybook/builder-vite'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; | ||
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; | ||
|
||
export { addons } from '@storybook/preview-api'; | ||
export { composeConfigs, PreviewWeb } from '@storybook/preview-api'; | ||
export { ClientApi } from '@storybook/preview-api'; | ||
|
||
export type { StorybookConfig } from '@storybook/builder-vite'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; | ||
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; | ||
|
||
export { addons } from '@storybook/preview-api'; | ||
export { composeConfigs, PreviewWeb } from '@storybook/preview-api'; | ||
export { ClientApi } from '@storybook/preview-api'; | ||
|
||
export type { StorybookConfig } from '@storybook/builder-vite'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1 @@ | ||
export { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage'; | ||
export { createChannel as createWebSocketChannel } from '@storybook/channel-websocket'; | ||
|
||
export { addons } from '@storybook/preview-api'; | ||
export { composeConfigs, PreviewWeb } from '@storybook/preview-api'; | ||
export { ClientApi } from '@storybook/preview-api'; | ||
|
||
export type { StorybookConfig } from '@storybook/builder-vite'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
declare module 'rollup-plugin-external-globals'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.