Skip to content

Instantly share code, notes, and snippets.

@hipstersmoothie
Created December 8, 2020 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hipstersmoothie/bed5ce664900153ffaebc777705672cc to your computer and use it in GitHub Desktop.
Save hipstersmoothie/bed5ce664900153ffaebc777705672cc to your computer and use it in GitHub Desktop.
const isCI = require("is-ci");
const addons = [
// all of your addons
// Only include some addons when developing locally
!isCI && "@storybook/addon-a11y",
!isCI && "@storybook/addon-jest",
].filter(Boolean);
module.exports = {
stories,
addons
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment