@@ -188,8 +188,8 @@ export class DiskBuildCache implements DevBuildCache {
188188 this . #processedFiles. set ( pathname , hash ) ;
189189
190190 const outDir = pathname === "/metafile.json"
191- ? this . config . build . outDir
192- : path . join ( this . config . build . outDir , "static" ) ;
191+ ? this . config . buildOutDir
192+ : path . join ( this . config . buildOutDir , "static" ) ;
193193 const filePath = path . join ( outDir , pathname ) ;
194194 assertInDir ( filePath , outDir ) ;
195195
@@ -204,7 +204,7 @@ export class DiskBuildCache implements DevBuildCache {
204204
205205 async flush ( ) : Promise < void > {
206206 const staticDir = this . config . staticDir ;
207- const outDir = this . config . build . outDir ;
207+ const outDir = this . config . buildOutDir ;
208208
209209 if ( await fsAdapter . isDirectory ( staticDir ) ) {
210210 const entries = fsAdapter . walk ( staticDir , {
@@ -272,7 +272,7 @@ export class DiskBuildCache implements DevBuildCache {
272272 }
273273
274274 if ( maybeHash === null ) {
275- const filePath = path . join ( this . config . build . outDir , "static" , name ) ;
275+ const filePath = path . join ( this . config . buildOutDir , "static" , name ) ;
276276 const file = await Deno . open ( filePath ) ;
277277 hash = await hashContent ( file . readable ) ;
278278 }
0 commit comments