Socket
Socket
Sign inDemoInstall

@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


Version published
Weekly downloads
614K
decreased by-0.81%
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