@storybook/builder-webpack5
Version:
A Storybook builder to dev and build with Webpack
11 lines (8 loc) • 449 B
TypeScript
import { PresetProperty, Options } from 'storybook/internal/types';
import * as webpackDep from 'webpack';
import { Configuration } from 'webpack';
declare const swc: PresetProperty<'swc'>;
declare function webpack(config: Configuration, options: Options): Promise<any>;
declare const webpackInstance: () => Promise<typeof webpackDep>;
declare const webpackVersion: () => Promise<string>;
export { swc, webpack, webpackInstance, webpackVersion };