require dist and lib