Skip to content

Commit

Permalink
Merge pull request #23687 from storybookjs/yann/fix-addon-docs-webpack
Browse files Browse the repository at this point in the history
Addon docs: Add safe check in Webpack preset
  • Loading branch information
yannbf committed Aug 3, 2023
2 parents 6d11b07 + 2d5a757 commit ac1a3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/addons/docs/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async function webpack(
module: {
...module,
rules: [
...module.rules,
...(module.rules || []),
{
test: /(stories|story)\.mdx$/,
use: [
Expand Down

0 comments on commit ac1a3e2

Please sign in to comment.