Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enabled previewMdx2 #2

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/lit-ts/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
features: {
buildStoriesJson: true,
storyStoreV7: true,
previewMdx2: true,
},
async viteFinal(config, { configType }) {
return mergeConfig(config, {
Expand Down
3 changes: 3 additions & 0 deletions examples/preact/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ module.exports = {
// we don't want to muck up the data when we're working on the builder
disableTelemetry: true,
},
features: {
previewMdx2: true,
},
async viteFinal(config) {
// because rollup does not respect NODE_PATH, and we have a funky example setup that needs it
config.build.rollupOptions = {
Expand Down
1 change: 1 addition & 0 deletions examples/react-18/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
},
features: {
storyStoreV7: true,
previewMdx2: true,
},
async viteFinal(config) {
// because rollup does not respect NODE_PATH
Expand Down
1 change: 1 addition & 0 deletions examples/react-ts/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
},
features: {
storyStoreV7: true,
previewMdx2: true,
},
async viteFinal(config) {
// because rollup does not respect NODE_PATH, and we have a funky example setup that needs it
Expand Down
1 change: 1 addition & 0 deletions examples/svelte/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
features: {
// On-demand store does not work for .svelte stories, only CSF.
storyStoreV7: false,
previewMdx2: true,
},
async viteFinal(config) {
// because rollup does not respect NODE_PATH, and we have a funky example setup that needs it
Expand Down
1 change: 1 addition & 0 deletions examples/workspaces/packages/catalog/.storybook/main.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
},
features: {
storyStoreV7: true,
previewMdx2: true,
},
async viteFinal(config) {
// because rollup does not respect NODE_PATH, and we have a funky example setup that needs it
Expand Down