Small improvements

This commit is contained in:
Andras Schmelczer 2026-09-19 15:23:24 +01:00
commit 5624e51f52
3 changed files with 82 additions and 225 deletions

View file

@ -5,7 +5,7 @@ import type { RelativePath } from "../../persistence/database";
import { Locks } from "./locks";
import { awaitAll } from "../await-all";
import { sleep } from "../sleep";
import { SyncResetError } from "../../services/sync-reset-error";
import { SyncResetError } from "../../errors/errors";
describe("withLock", () => {
const testPath: RelativePath = "test/document/path";

View file

@ -1,4 +1,4 @@
import { SyncResetError } from "../../services/sync-reset-error";
import { SyncResetError } from "../../errors/errors";
import type { Logger } from "../../tracing/logger";
import { awaitAll } from "../await-all";

View file

@ -9,7 +9,12 @@ const common = {
rules: [
{
test: /\.ts$/,
use: ["ts-loader"]
use: [
{
loader: "ts-loader",
options: { onlyCompileBundledFiles: true }
}
]
},
{
test: /\.wasm$/,