JSPM

@storybook/core-server

6.3.0-alpha.30
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1150011
  • Score
    100M100P100Q185354F
  • License MIT

Storybook framework-agnostic API

Package Exports

  • @storybook/core-server
  • @storybook/core-server/dist/cjs/presets/babel-cache-preset
  • @storybook/core-server/dist/cjs/presets/common-preset
  • @storybook/core-server/dist/cjs/presets/manager-preset
  • @storybook/core-server/dist/cjs/utils/get-preview-builder
  • @storybook/core-server/standalone

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@storybook/core-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Storybook Core-server

This package contains common node-side functionality used among the different frameworks (React, RN, Vue, Ember, Angular, etc).

It contains:

  • CLI arg parsing
  • Storybook UI "manager" webpack configuration
  • start-storybook dev server
  • build-storybook static builder
  • presets handling

The "preview" (aka iframe) side is implemented in pluggable builders:

  • @storybook/builder-webpack4
  • @storybook/builder-webpack5

These builders abstract both the webpack dependencies as well as the various core configurations and loader/plugin dependencies provided out of the box with Storybook.