Skip to content

Commit 00765af

Browse files
committed
more logging
1 parent 56aa00d commit 00765af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tooling/v8-snapshot/src/generator/snapshot-generator.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ export class SnapshotGenerator {
356356
logInfo(`Writing snapshot script to ${this.snapshotScriptPath}`)
357357

358358
if (this.minify) {
359+
logInfo('Minifying snapshot script')
360+
359361
const minified = await minify(this.snapshotScript!.toString(), {
360362
sourceMap: false,
361363
})
@@ -369,6 +371,8 @@ export class SnapshotGenerator {
369371
}
370372

371373
// 4. Write the snapshot script to the configured file
374+
logInfo(`Writing snapshot script to ${this.snapshotScriptPath}`)
375+
372376
return fs.promises.writeFile(this.snapshotScriptPath, this.snapshotScript)
373377
}
374378

0 commit comments

Comments
 (0)