Skip to content
This repository was archived by the owner on Dec 22, 2024. It is now read-only.

Commit 989bbac

Browse files
committed
fix(storybook): copy static dirs to output
1 parent 03e6ae8 commit 989bbac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: .storybook/main.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const react = require("@vitejs/plugin-react");
22

33
module.exports = {
44
stories: ["../stories/Start.stories.mdx", "../stories/**/*.stories.mdx", "../stories/**/*.stories.@(js|jsx|ts|tsx)"],
5+
staticDirs: [{ from: '../docs', to: '/docs'}],
56
addons: [{
67
name: '@storybook/addon-docs',
78
options: {
@@ -39,4 +40,4 @@ module.exports = {
3940
return config;
4041
}
4142

42-
};
43+
};

0 commit comments

Comments
 (0)