storybook/docs/_snippets/storybook-server-framework-options.md
2024-11-17 16:46:37 +00:00

348 B

import { sync } from 'read-pkg-up';

export default {
  packageJson: sync({ cwd: __dirname }).packageJson,
  framework: 'my-framework',
  frameworkPath: '@my-framework/storybook',
  frameworkPresets: [require.resolve('./framework-preset-my-framework.js')],
};