feat(lib): Move to process code from master branch of original Grunt task