Skip to content

Commit

Permalink
remove unnecessary default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Walker-GM committed Aug 23, 2024
1 parent f5ef4ca commit fc646cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/storybook/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ export const viteFinal: StorybookConfig['viteFinal'] = async (config) => {
const { plugins = [] } = config

// Needs to run before the react plugin, so add to the front
plugins.unshift(
reactDocgen({
include: /\.(tsx?|jsx?)$/,
}),
)
plugins.unshift(reactDocgen())

return mergeConfig(config, {
// This is necessary as it otherwise just points to the `web` directory,
Expand Down

0 comments on commit fc646cf

Please sign in to comment.