Skip to content

Commit

Permalink
add safe check in addon docs webpack preset
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbf committed Aug 2, 2023
1 parent bdbd335 commit 2d5a757
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 2d5a757

Please sign in to comment.