Skip to content

Storybook

Enabled

This plugin is enabled when there’s a match in dependencies or devDependencies in package.json:

  • ^@storybook\/

  • @nrwl/storybook

Default configuration

This configuration is added automatically if the plugin is enabled:

{
"storybook": {
"config": [
".storybook/{main,test-runner}.{js,ts}"
],
"entry": [
".storybook/{manager,preview}.{js,jsx,ts,tsx}",
"**/*.@(mdx|stories.@(mdx|js|jsx|mjs|ts|tsx))"
],
"project": [
".storybook/**/*.{js,jsx,ts,tsx}"
]
}
}

Your custom config or entry options override default values, they are not merged.

See Plugins for more details.

ISC License © 2024 Lars Kappert