1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Rename class to NextJsRequireCacheHotReloader

This commit is contained in:
Tim Neutkens 2018-11-07 18:56:53 +01:00
parent 5ffbb34841
commit a0137d4fd8

View file

@ -5,7 +5,7 @@ function deleteCache (path: string) {
}
// This plugin flushes require.cache after emitting the files. Providing 'hot reloading' of server files.
export default class ChunkNamesPlugin {
export default class NextJsRequireCacheHotReloader {
prevAssets: null | {[string]: {existsAt: string}}
constructor () {
this.prevAssets = null