remove repeated code
remove repeated code

SimenB/webpack,EliteScientist/webpack,NekR/webpack,webpack/webpack,webpack/webpack,SimenB/webpack,webpack/webpack,webpack/webpack,NekR/webpack,EliteScientist/webpack,SimenB/webpack,SimenB/webpack