parse webpack configuration
rework