add webpack configurations