UNPKG

@docusaurus/core

Version:

Easy to Maintain Open Source Documentation Websites

16 lines (15 loc) 590 B
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import WebpackDevServer from 'webpack-dev-server'; import type { StartCLIOptions } from './start'; import type { Props } from '@docusaurus/types'; import type { OpenUrlContext } from './utils'; export declare function createWebpackDevServer({ props, cliOptions, openUrlContext, }: { props: Props; cliOptions: StartCLIOptions; openUrlContext: OpenUrlContext; }): Promise<WebpackDevServer>;