27 lines
		
	
	
		
			608 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			608 B
		
	
	
	
		
			JavaScript
		
	
	
	
| import path from 'path';
 | |
| 
 | |
| /** @type { import('@storybook/react-vite').StorybookConfig } */
 | |
| const config = {
 | |
|   stories: ['../stories/**/*.mdx', '../stories/**/*.stories.tsx'],
 | |
|   framework: {
 | |
|     name: '@edenx/storybook',
 | |
|     options: {
 | |
|       bundler: 'webpack',
 | |
|       configPath: path.resolve(__dirname, '../edenx.config.ts'),
 | |
|     },
 | |
|   },
 | |
|   addons: [
 | |
|     '@storybook/addon-links',
 | |
|     '@storybook/addon-essentials',
 | |
|     '@storybook/addon-onboarding',
 | |
|     '@storybook/addon-interactions',
 | |
|   ],
 | |
|   docs: {
 | |
|     autodocs: 'tag',
 | |
|   },
 | |
|   typescript: {
 | |
|     reactDocgen: 'react-docgen',
 | |
|   },
 | |
| };
 | |
| export default config;
 |