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:
parent
5ffbb34841
commit
a0137d4fd8
|
@ -5,7 +5,7 @@ function deleteCache (path: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This plugin flushes require.cache after emitting the files. Providing 'hot reloading' of server files.
|
// 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}}
|
prevAssets: null | {[string]: {existsAt: string}}
|
||||||
constructor () {
|
constructor () {
|
||||||
this.prevAssets = null
|
this.prevAssets = null
|
||||||
|
|
Loading…
Reference in a new issue