ignore node modules
resolve path so that trailing slash is consistent