Skip to content

Commit

Permalink
Fix docs-addons preset to pass MDX loader options properly
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed May 31, 2022
1 parent 28a2424 commit 72fb692
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions addons/docs/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export async function webpack(
},
{
loader: mdxLoader,
options: { ...mdxLoaderOptions, skipCsf: false },
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,13 @@ Object {
},
Object {
"loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
"skipCsf": false,
},
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,13 @@ Object {
},
Object {
"loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
"skipCsf": false,
},
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,13 @@ Object {
},
Object {
"loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
"skipCsf": false,
},
},
],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,13 @@ Object {
},
Object {
"loader": "NODE_MODULES/@storybook/mdx1-csf/loader.js",
"options": Object {
"remarkPlugins": Array [
[Function],
[Function],
],
"skipCsf": false,
},
},
],
},
Expand Down

0 comments on commit 72fb692

Please sign in to comment.