Socket
Book a DemoInstallSign in
Socket

@mediacurrent/storybook-config-gatsby

Package Overview
Dependencies
Maintainers
7
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mediacurrent/storybook-config-gatsby

Storybook webpack config for Gatsby projects at Mediacurrent

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
7
Created
Source

storybook-config-gatsby

The webpack config for using Storybook with Gatsby on Mediacurrent projects.

Usage

In your .storybook/webpack.config.js file, put the following:

const sharedConfig = require('@mediacurrent/storybook-config-gatsby')
module.exports = ({ config }) => {
  const newConfig = sharedConfig(config);
  // Overrides here like:
  // newConfig.module.rules = foo
  return newConfig;
};

FAQs

Package last updated on 07 Dec 2020

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