refactor: auto ordered imports (#9163)

This commit is contained in:
Marcel Mraz
2025-03-12 15:23:31 +01:00
committed by GitHub
parent 82b9a6b464
commit 21ffaf4d76
421 changed files with 3532 additions and 2763 deletions
@@ -7,8 +7,8 @@
* In the future consider separating common utils into a separate shared chunk.
*/
import binary from "./harfbuzz-wasm";
import bindings from "./harfbuzz-bindings";
import binary from "./harfbuzz-wasm";
/**
* Lazy loads wasm and respective bindings for font subsetting based on the harfbuzzjs.
+2 -2
View File
@@ -1,6 +1,6 @@
import { WorkerPool } from "../workers";
import { isServerEnv, promiseTry } from "../utils";
import { WorkerInTheMainChunkError, WorkerUrlNotDefinedError } from "../errors";
import { isServerEnv, promiseTry } from "../utils";
import { WorkerPool } from "../workers";
import type { Commands } from "./subset-shared.chunk";
@@ -7,8 +7,8 @@
* In the future consider separating common utils into a separate shared chunk.
*/
import loadWoff2 from "./woff2/woff2-loader";
import loadHbSubset from "./harfbuzz/harfbuzz-loader";
import loadWoff2 from "./woff2/woff2-loader";
/**
* Shared commands between the main thread and worker threads.
@@ -7,8 +7,8 @@
* In the future consider separating common utils into a separate shared chunk.
*/
import binary from "./woff2-wasm";
import bindings from "./woff2-bindings";
import binary from "./woff2-wasm";
/**
* Lazy loads wasm and respective bindings for woff2 compression and decompression.