mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-22 09:13:18 +03:00
fix: fix download fonts script (#8125)
This commit is contained in:
parent
74cd175d37
commit
52cd6102cb
@ -2,8 +2,7 @@ import { writeFile } from 'node:fs/promises';
|
||||
import { join } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-restricted-imports
|
||||
import { AffineCanvasTextFonts } from '@blocksuite/blocks/dist/surface-block/consts.js';
|
||||
import { AffineCanvasTextFonts } from '@blocksuite/affine-block-surface';
|
||||
|
||||
const fontPath = join(
|
||||
fileURLToPath(import.meta.url),
|
||||
|
Loading…
Reference in New Issue
Block a user