refactor: auto ordered imports (#9163)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user