improve(require build): disposes replace task with insertRequire option