UNPKG

@storybook/builder-webpack5

Version:
11 lines (8 loc) 449 B
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 };