build: optimize less and require