File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/gatsby/src/utils Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ import { PARTIAL_HYDRATION_CHUNK_REASON } from "./webpack/plugins/partial-hydrat
55import { store } from "../redux"
66import { ensureFileContent } from "./ensure-file-content"
77
8+ let previousChunkMapJson : string | undefined
9+ let previousWebpackStatsJson : string | undefined
10+
811export class GatsbyWebpackStatsExtractor {
912 private plugin : { name : string }
1013 private publicPath : string
@@ -14,8 +17,6 @@ export class GatsbyWebpackStatsExtractor {
1417 this . publicPath = publicPath
1518 }
1619 apply ( compiler : Compiler ) : void {
17- let previousChunkMapJson : string | undefined
18- let previousWebpackStatsJson : string | undefined
1920 compiler . hooks . done . tapAsync ( this . plugin . name , async ( stats , done ) => {
2021 const assets : { [ key : string ] : Array < string > } = { }
2122 const assetsMap = { }
You can’t perform that action at this time.
0 commit comments