How to use the @storybook/core/server.configLoaderCreator function in @storybook/core

To help you get started, we’ve selected a few @storybook/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github storybookjs / storybook / app / mithril / src / server / config.js View on Github external
import { configLoaderCreator } from '@storybook/core/server';
import defaultConfig from './config/babel';

const configLoader = configLoaderCreator({
  defaultBabelConfig: defaultConfig,
});

export default configLoader;
github storybookjs / storybook / app / polymer / src / server / config.js View on Github external
import { configLoaderCreator } from '@storybook/core/server';
import defaultConfig from './config/babel';

const configLoader = configLoaderCreator({
  defaultConfigName: 'polymer-cli',
  defaultBabelConfig: defaultConfig,
});

export default configLoader;
github storybookjs / storybook / app / marko / src / server / config.js View on Github external
import { configLoaderCreator } from '@storybook/core/server';
import defaultConfig from './config/babel';

const configLoader = configLoaderCreator({
  defaultConfigName: 'marko-cli',
  defaultBabelConfig: defaultConfig,
});

export default configLoader;