@frontity/core
Version:
The core package of the Frontity framework.
11 lines (10 loc) • 334 B
TypeScript
import webpack from "webpack";
/**
* Wrapper to run `webpack` asynchronously.
*
* @param config - Webpack's config object, defined in {@link
* webpack.Configuration}.
*
* @returns A promise that resolves when Webpack finishes.
*/
export declare const webpackAsync: (config: webpack.Configuration) => Promise<webpack.Compiler>;