chore(workspace): drop isCoreBuilt, unused since the stamp gate replaced the skip helper

This commit is contained in:
bchanot committed 2026-10-14 21:49:39 +02:00
1 parent da8a0370cb
commit 5020954433
1 file changed
-6
-6
View File
@@ -3,7 +3,6 @@
* from `pkg/` (the shipped build) or `pkg-proofs/` (with the R0 trap exports). Never
* imported by the application bundle.
*/
import { existsSync } from 'node:fs'
import { readFile } from 'node:fs/promises'
import { dirname, join } from 'node:path'
import { fileURLToPath, pathToFileURL } from 'node:url'
@@ -23,11 +22,6 @@ export function coreWasmPath(build: CoreBuild = 'pkg'): string {
return join(PACKAGE_DIR, build, 'faunosteo_wasm_bg.wasm')
}
/** True when `pnpm wasm:build` has produced the module. */
export function isCoreBuilt(build: CoreBuild = 'pkg'): boolean {
return existsSync(coreWasmPath(build))
}
/** Each import gets its own query string, hence its own module record and instance. */
let imports = 0