Skip to content

Commit

Permalink
Remove pluginutils from dependencies
Browse files Browse the repository at this point in the history
because `createFilter` util is exposed from Vite v3.
vitejs/vite#8562
  • Loading branch information
kazuma1989 committed Aug 1, 2022
1 parent 889f9b5 commit c86335b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion packages/builder-vite/package.json
Expand Up @@ -14,7 +14,6 @@
"homepage": "https://github.com/storybookjs/builder-vite/#readme",
"dependencies": {
"@joshwooding/vite-plugin-react-docgen-typescript": "0.0.5",
"@rollup/pluginutils": "^4.2.1",
"@storybook/core-common": "^6.4.3",
"@storybook/mdx1-csf": "^0.0.4",
"@storybook/node-logger": "^6.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/builder-vite/plugins/react-docgen.ts
@@ -1,5 +1,4 @@
import path from 'path';
import { createFilter } from '@rollup/pluginutils';
import {
parse,
handlers as docgenHandlers,
Expand All @@ -9,6 +8,7 @@ import {
import type { DocumentationObject } from 'react-docgen/lib/Documentation';
import MagicString from 'magic-string';
import type { Plugin } from 'vite';
import { createFilter } from 'vite';
import actualNameHandler from './docgen-handlers/actualNameHandler';

type DocObj = DocumentationObject & { actualName: string };
Expand Down
1 change: 0 additions & 1 deletion yarn.lock
Expand Up @@ -2873,7 +2873,6 @@ __metadata:
resolution: "@storybook/builder-vite@workspace:packages/builder-vite"
dependencies:
"@joshwooding/vite-plugin-react-docgen-typescript": 0.0.5
"@rollup/pluginutils": ^4.2.1
"@storybook/core-common": ^6.4.3
"@storybook/mdx1-csf": ^0.0.4
"@storybook/mdx2-csf": ^0.0.3
Expand Down

0 comments on commit c86335b

Please sign in to comment.