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

@storybook/builder-webpack4

Package Overview
Dependencies
Maintainers
5
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/builder-webpack4

Storybook framework-agnostic API

  • 6.5.16
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
972K
decreased by-4.12%
Maintainers
5
Weekly downloads
 
Created

What is @storybook/builder-webpack4?

The @storybook/builder-webpack4 npm package is a custom builder for Storybook that allows you to use Webpack 4 as your bundler for building stories. This is particularly useful for projects that are still using Webpack 4 and have not yet migrated to Webpack 5, which is used by default in the latest versions of Storybook. The package provides a set of configurations and optimizations tailored for Webpack 4 to ensure compatibility and performance when running Storybook.

What are @storybook/builder-webpack4's main functionalities?

Custom Webpack Configuration

Allows you to customize the Webpack configuration used by Storybook by modifying the existing config or returning a new one.

{"webpackFinal": (config) => {\n  // Modify or return the webpack config.\n  return config;\n}}

Storybook Addon Compatibility

Ensures compatibility with various Storybook addons while using Webpack 4 as the bundler.

{"addons": [\n  '@storybook/addon-actions',\n  '@storybook/addon-links',\n  '@storybook/addon-essentials'\n]}

Performance Optimizations

Provides performance optimizations specific to Webpack 4 for faster build and reload times in Storybook.

{"core": {\n  "builder": '@storybook/builder-webpack4'\n}}

Other packages similar to @storybook/builder-webpack4

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