UNPKG

@kinvolk/headlamp-plugin

Version:

The needed infrastructure for building Headlamp plugins.

25 lines (24 loc) 692 B
module.exports = { stories: [ '../../../../../src/**/*.stories.mdx', '../../../../../src/**/*.stories.@(js|jsx|ts|tsx)', ], addons: ['@storybook/addon-links', '@storybook/addon-essentials'], core: { builder: '@storybook/builder-vite', disableTelemetry: true, }, framework: { name: '@storybook/react-vite', options: {}, }, // https://storybook.js.org/docs/react/configure/typescript#mainjs-configuration typescript: { check: false, reactDocgen: true, reactDocgenTypescriptOptions: { shouldExtractLiteralValuesFromEnum: true, propFilter: prop => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true), }, }, };