Skip to content

Commit bc4a1e0

Browse files
authored
Merge pull request #10363 from marmelab/addon-storysource
[Storybook] Re-enable storysource addon
2 parents bf2c145 + ae131f3 commit bc4a1e0

File tree

4 files changed

+554
-2266
lines changed

4 files changed

+554
-2266
lines changed

.storybook/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const config: StorybookConfig = {
1313
],
1414
addons: [
1515
'@storybook/addon-webpack5-compiler-babel',
16+
'@storybook/addon-storysource',
1617
'@storybook/addon-actions',
1718
'@storybook/addon-controls',
1819
],
@@ -52,7 +53,7 @@ const config: StorybookConfig = {
5253
],
5354
};
5455
},
55-
webpackFinal: async (config, { configType }) => {
56+
webpackFinal: async config => {
5657
config.module?.rules?.push({
5758
test: /\.stories\.tsx?$/,
5859
use: [

0 commit comments

Comments
 (0)