File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " appcache-webpack-plugin-plus" ,
3- "version" : " 2.0.2 " ,
3+ "version" : " 2.0.3 " ,
44 "contributors" : [
55 " Eric Eldredge <[email protected] >" ,
66
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export default class AppCachePlugin {
5555 compilation : {
5656 hash : string
5757 chunkhash : string
58- assets : { [ filename : string ] : { source : string ; size : number } }
58+ assets : {
59+ [ filename : string ] : { source : ( ) => string ; size : ( ) => number }
60+ }
5961 } ,
6062 callback : ( ) => void
6163 ) => {
@@ -101,8 +103,8 @@ export default class AppCachePlugin {
101103 . join ( '\n' )
102104
103105 compilation . assets [ this . output ] = {
104- source : finalManifest ,
105- size : Buffer . byteLength ( finalManifest )
106+ source : ( ) => finalManifest ,
107+ size : ( ) => Buffer . byteLength ( finalManifest )
106108 }
107109 callback ( )
108110 }
You can’t perform that action at this time.
0 commit comments