Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@storybook/manager-webpack5

Package Overview
Dependencies
Maintainers
29
Versions
285
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/manager-webpack5

Storybook framework-agnostic API

  • 6.5.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
514K
decreased by-11.65%
Maintainers
29
Weekly downloads
 
Created

What is @storybook/manager-webpack5?

@storybook/manager-webpack5 is a package that allows you to customize the Storybook manager UI using Webpack 5. It provides the ability to configure and extend the Storybook manager, which is the interface where you browse and interact with your stories.

What are @storybook/manager-webpack5's main functionalities?

Custom Webpack Configuration

This feature allows you to customize the Webpack configuration for the Storybook manager. In this example, an alias is created for the 'src/components' directory.

{"module.exports":{"managerWebpack":{"config":{"resolve":{"alias":{"@components":"src/components"}}}}}}

Adding Custom Addons

You can add custom addons to enhance the functionality of the Storybook manager. This example shows how to add the 'addon-links' and 'addon-essentials' addons.

{"module.exports":{"addons":["@storybook/addon-links","@storybook/addon-essentials"]}}

Custom Manager UI

This feature allows you to customize the manager UI by modifying the Webpack configuration. In this example, CSS files are handled using 'style-loader' and 'css-loader'.

{"module.exports":{"managerWebpack":{"config":{"module":{"rules":[{"test":"/\\.css$/","use":["style-loader","css-loader"]}]}}}}}

Other packages similar to @storybook/manager-webpack5

Keywords

FAQs

Package last updated on 26 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc