@storybook/preset-create-react-app

  • Version 4.1.0
  • Published
  • 45.3 kB
  • 6 dependencies
  • MIT license

Install

npm i @storybook/preset-create-react-app
yarn add @storybook/preset-create-react-app
pnpm add @storybook/preset-create-react-app

Overview

Create React App preset for Storybook

Index

Functions

function babelDefault

babelDefault: () => Record<string, (string | [string, object])[]>;

    function core

    core: (existing: { disableWebpackDefaults: boolean }) => {
    disableWebpackDefaults: boolean;
    };

      function managerWebpack

      managerWebpack: (webpackConfig?: Configuration) => Configuration;

        function webpack

        webpack: (
        webpackConfig: Configuration | undefined,
        options: PluginOptions
        ) => Promise<Configuration>;

          Package Files (1)

          Dependencies (6)

          Dev Dependencies (3)

          Peer Dependencies (4)

          Badge

          To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

          You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/preset-create-react-app.

          • Markdown
            [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/preset-create-react-app)
          • HTML
            <a href="https://www.jsdocs.io/package/@storybook/preset-create-react-app"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>