Use Rspack for faster builds

This commit is contained in:
uwap 2026-01-03 06:44:32 +01:00
parent 36b21e0260
commit 537dc46dc7
14 changed files with 1626 additions and 56 deletions

View file

@ -11,7 +11,7 @@ export const Upgrade
});
export const runUpgrade = profiler.registerFN(
function runUpgrade(creep: Creep): TaskStatus {
function (creep: Creep): TaskStatus {
const task = creep.task;
if (task == null) {
return TaskStatus.DONE;
@ -28,4 +28,4 @@ export const runUpgrade = profiler.registerFN(
creep.travelTo(task.targetPos);
}
return TaskStatus.IN_PROGRESS;
}) as (creep: Creep) => TaskStatus;
}, "Tasks.Upgrade.run") as (creep: Creep) => TaskStatus;