Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosir committed Dec 4, 2024
1 parent 04bd670 commit 0517864
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const storybookConfig: StorybookConfig = {
name: '@storybook/react-webpack5',
options: {},
},

// JSX transform no longer requires importing React explicitly in every file.
swc: () => ({
jsc: {
Expand All @@ -18,6 +19,7 @@ const storybookConfig: StorybookConfig = {
},
},
}),

webpackFinal: (config) => {
// Resolve absolute imports
config.resolve?.modules?.push(path.resolve(process.cwd(), 'src'));
Expand Down

0 comments on commit 0517864

Please sign in to comment.