storybook/docs/_snippets/storybook-server-framework-options.md
2024-06-13 17:53:08 +01:00

349 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')],
};