Return to site

Community base addons toh

broken image
broken image

Presets APIĪ preset is a set of hooks that is called by Storybook on initialization and can override configurations for babel, webpack, addons, and entries.Įach configuration has a similar signature, accepting a base configuration object and options, as in this webpack example: Babel This doc covers the presets API and how to use the presets mechanism for advanced configuration. Storybook preset addons are grouped collections of babel, webpack, and addons configurations that support specific use cases in Storybook, such as typescript or MDX support.