update build to include WeakMap