mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-25 11:07:29 +00:00
Bump aspnet-webpack version to 2.0.2. Also, further minor tweak to TypeScript annotations.
This commit is contained in:
@@ -262,9 +262,9 @@ export function createWebpackDevServer(callback: CreateDevServerCallback, option
|
||||
webpackConfigExport = webpackConfigExport(options.suppliedOptions.EnvParam);
|
||||
}
|
||||
|
||||
const webpackConfigThenable: Thenable<WebpackConfigOrArray> = isThenable(webpackConfigExport)
|
||||
const webpackConfigThenable = isThenable<WebpackConfigOrArray>(webpackConfigExport)
|
||||
? webpackConfigExport
|
||||
: { then: callback => callback(webpackConfigExport) };
|
||||
: { then: callback => callback(webpackConfigExport) } as Thenable<WebpackConfigOrArray>;
|
||||
|
||||
webpackConfigThenable.then(webpackConfigResolved => {
|
||||
const webpackConfigArray = webpackConfigResolved instanceof Array ? webpackConfigResolved : [webpackConfigResolved];
|
||||
|
||||
Reference in New Issue
Block a user