main.ts 566 B

123456789101112131415161718192021
  1. import type { StorybookConfig } from "@storybook/nextjs";
  2. const config: StorybookConfig = {
  3. stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
  4. addons: [
  5. "@storybook/addon-onboarding",
  6. "@storybook/addon-links",
  7. "@storybook/addon-essentials",
  8. "@chromatic-com/storybook",
  9. "@storybook/addon-interactions",
  10. ],
  11. framework: {
  12. name: "@storybook/nextjs",
  13. options: {},
  14. },
  15. staticDirs: ["..\\public"],
  16. core: {
  17. disableTelemetry: true, // disable telemetry due to end user privacy
  18. }
  19. };
  20. export default config;