about require at front-end