Skip to content

Commit

Permalink
docs: include storybook in tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Nov 29, 2023
1 parent 2eebf2b commit d852a0f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import tsconfigPaths from "vite-tsconfig-paths";

export default {
stories: ["../src/**/*.stories.@(js|jsx|ts|tsx)"],
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
staticDirs: ["../public"],
addons: [
"@storybook/addon-links",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"bugs": "https://github.com/form-atoms/field/issues",
"license": "MIT",
"keywords": [
"react last field",
"react atom field",
"react field",
"react input",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"incremental": true,
"noUncheckedIndexedAccess": true
},
"include": ["src"]
"include": ["src", "./storybook"]
}

0 comments on commit d852a0f

Please sign in to comment.