Skip to content

Commit

Permalink
Storybook fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurczewski committed Dec 2, 2024
1 parent 449f36d commit 0cf7c34
Show file tree
Hide file tree
Showing 4 changed files with 15,028 additions and 17,509 deletions.
2 changes: 1 addition & 1 deletion apps/mudita-center/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { StorybookConfig } from "@storybook/react-webpack5"

const config: StorybookConfig = {
stories: ["../src/lib/**/*.@(mdx|stories.@(js|jsx|ts|tsx))"],
stories: ["../../../libs/**/*.@(mdx|stories.@(js|jsx|ts|tsx))"],
addons: [
"@storybook/addon-essentials",
"@storybook/addon-interactions",
Expand Down
8 changes: 8 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static-storybook"
}
},
{
"plugin": "@nx/webpack/plugin",
"options": {
"buildTargetName": "build",
"serveTargetName": "serve",
"previewTargetName": "preview"
}
}
]
}
Loading

0 comments on commit 0cf7c34

Please sign in to comment.