Comparing version 2.4.1 to 2.4.2
@@ -87,2 +87,4 @@ 'use strict'; | ||
var isBundledPage = /^bundles[/\\]pages.*\.js$/; | ||
var HotReloader = function () { | ||
@@ -366,3 +368,6 @@ function HotReloader(dir) { | ||
return c.name; | ||
}).filter(function (name) { | ||
return isBundledPage.test(name); | ||
})); | ||
var failedChunkNames = new _set2.default(compilation.errors.map(function (e) { | ||
@@ -380,3 +385,5 @@ return e.module.reasons; | ||
var chunkHashes = new _map2.default(compilation.chunks.map(function (c) { | ||
var chunkHashes = new _map2.default(compilation.chunks.filter(function (c) { | ||
return isBundledPage.test(c.name); | ||
}).map(function (c) { | ||
return [c.name, c.hash]; | ||
@@ -497,3 +504,4 @@ })); | ||
path: '/_next/webpack-hmr', | ||
log: false | ||
log: false, | ||
heartbeat: 2500 | ||
}); | ||
@@ -500,0 +508,0 @@ this.onDemandEntries = (0, _onDemandEntryHandler2.default)(this.webpackDevMiddleware, compiler, (0, _extends3.default)({ |
{ | ||
"name": "next", | ||
"version": "2.4.1", | ||
"version": "2.4.2", | ||
"description": "Minimalistic framework for server-rendered React applications", | ||
@@ -5,0 +5,0 @@ "main": "./dist/server/next.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294035
6010