add weak as devDependency