Skip to content

Commit

Permalink
Merge pull request #10363 from marmelab/addon-storysource
Browse files Browse the repository at this point in the history
[Storybook] Re-enable storysource addon
  • Loading branch information
fzaninotto authored Nov 27, 2024
2 parents bf2c145 + ae131f3 commit bc4a1e0
Show file tree
Hide file tree
Showing 4 changed files with 554 additions and 2,266 deletions.
3 changes: 2 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config: StorybookConfig = {
],
addons: [
'@storybook/addon-webpack5-compiler-babel',
'@storybook/addon-storysource',
'@storybook/addon-actions',
'@storybook/addon-controls',
],
Expand Down Expand Up @@ -52,7 +53,7 @@ const config: StorybookConfig = {
],
};
},
webpackFinal: async (config, { configType }) => {
webpackFinal: async config => {
config.module?.rules?.push({
test: /\.stories\.tsx?$/,
use: [
Expand Down
Loading

0 comments on commit bc4a1e0

Please sign in to comment.