Skip to content

Commit ec3b1d7

Browse files
committed
🏗️ [doc/build] fix font size file path issue
1 parent c0e192f commit ec3b1d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/script/fontmin/replaceFileSize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import * as fs from 'fs';
1313

1414
const s = fs.statSync('../../.output/public/fonts/wljh.ttf');
1515

16-
const file = '../../.output/server/chunks/runtime.mjs';
16+
const file = '../../.output/server/chunks/nitro/nitro.mjs';
1717
fs.readFile(file, (err, data) => {
1818
let str = data.toString();
1919
const info = str.match(/\/fonts\/wljh.ttf[^}]*/);

0 commit comments

Comments
 (0)