fix(build): include cancel condition