module.exports = [
  {
    name: '@storybook/addon-docs/react/preset',
    options: {
      configureJSX: true,
    },
  },
];

module.exports = [
  '@storybook/preset-create-react-app',
  {
    name: '@storybook/addon-docs/react/preset',
    options: {
      configureJSX: true,
    },
  },
];

Add CRA preset to MDX template
CLI: Add CRA preset to MDX template
