Skip to content

Commit

Permalink
Merge pull request #21146 from storybookjs/shilman/revert-21096-vite-…
Browse files Browse the repository at this point in the history
…source-loader

Revert #21096 Vite: Fix storysource addon support
  • Loading branch information
shilman authored Feb 17, 2023
2 parents 6bbbd40 + 372f205 commit 11bec10
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 111 deletions.
1 change: 0 additions & 1 deletion code/lib/builder-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"@storybook/node-logger": "7.0.0-beta.49",
"@storybook/preview": "7.0.0-beta.49",
"@storybook/preview-api": "7.0.0-beta.49",
"@storybook/source-loader": "7.0.0-beta.49",
"@storybook/types": "7.0.0-beta.49",
"browser-assert": "^1.2.1",
"es-module-lexer": "^0.9.3",
Expand Down
1 change: 0 additions & 1 deletion code/lib/builder-vite/src/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ export * from './strip-story-hmr-boundaries';
export * from './code-generator-plugin';
export * from './csf-plugin';
export * from './external-globals-plugin';
export * from './source-loader-plugin';
106 changes: 0 additions & 106 deletions code/lib/builder-vite/src/plugins/source-loader-plugin.ts

This file was deleted.

2 changes: 0 additions & 2 deletions code/lib/builder-vite/src/vite-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
mdxPlugin,
stripStoryHMRBoundary,
externalGlobalsPlugin,
sourceLoaderPlugin,
} from './plugins';

import type { BuilderOptions } from './types';
Expand Down Expand Up @@ -78,7 +77,6 @@ export async function pluginConfig(options: Options) {

const plugins = [
codeGeneratorPlugin(options),
sourceLoaderPlugin(options),
await csfPlugin(options),
await mdxPlugin(options),
injectExportOrderPlugin,
Expand Down
1 change: 0 additions & 1 deletion code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5211,7 +5211,6 @@ __metadata:
"@storybook/node-logger": 7.0.0-beta.49
"@storybook/preview": 7.0.0-beta.49
"@storybook/preview-api": 7.0.0-beta.49
"@storybook/source-loader": 7.0.0-beta.49
"@storybook/types": 7.0.0-beta.49
"@types/express": ^4.17.13
"@types/node": ^16.0.0
Expand Down

0 comments on commit 11bec10

Please sign in to comment.