Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit 08c2f23

Browse files
Bump aspnet-webpack version to 2.0.2. Also, further minor tweak to TypeScript annotations.
1 parent 6274733 commit 08c2f23

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Microsoft.AspNetCore.SpaServices/npm/aspnet-webpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "aspnet-webpack",
3-
"version": "2.0.1",
3+
"version": "2.0.2",
44
"description": "Helpers for using Webpack in ASP.NET Core projects. Works in conjunction with the Microsoft.AspNetCore.SpaServices NuGet package.",
55
"main": "index.js",
66
"scripts": {

src/Microsoft.AspNetCore.SpaServices/npm/aspnet-webpack/src/WebpackDevMiddleware.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ export function createWebpackDevServer(callback: CreateDevServerCallback, option
262262
webpackConfigExport = webpackConfigExport(options.suppliedOptions.EnvParam);
263263
}
264264

265-
const webpackConfigThenable: Thenable<WebpackConfigOrArray> = isThenable(webpackConfigExport)
265+
const webpackConfigThenable = isThenable<WebpackConfigOrArray>(webpackConfigExport)
266266
? webpackConfigExport
267-
: { then: callback => callback(webpackConfigExport) };
267+
: { then: callback => callback(webpackConfigExport) } as Thenable<WebpackConfigOrArray>;
268268

269269
webpackConfigThenable.then(webpackConfigResolved => {
270270
const webpackConfigArray = webpackConfigResolved instanceof Array ? webpackConfigResolved : [webpackConfigResolved];

0 commit comments

Comments
 (0)