fix: Correct dynamic import paths in fallback function

- Use  path aliases instead of relative paths
- Fixes module resolution errors when importing from other files
- Ensures fallback to Fontshare API works correctly
This commit is contained in:
Ilia Mashkov
2026-01-29 15:23:59 +03:00
parent 471e186e70
commit c06aad1a8a
3 changed files with 484 additions and 2 deletions

2
test-import.mjs Normal file
View File

@@ -0,0 +1,2 @@
import { unifiedFontStore } from './src/entities/Font/index.ts';
console.log('Import successful:', !!unifiedFontStore);