extract source creation to its own method
extract source creation to its own method

ts-webpack/webpack,NekR/webpack,webpack/webpack,jescalan/webpack,g0ddish/webpack,SimenB/webpack,SimenB/webpack,rlugojr/webpack,rlugojr/webpack,SimenB/webpack,g0ddish/webpack,webpack/webpack,ts-webpack/webpack,rlugojr/webpack,ts-webpack/webpack,jescalan/webpack,EliteScientist/webpack,SimenB/webpack,ts-webpack/webpack,webpack/webpack,g0ddish/webpack,webpack/webpack,jescalan/webpack,EliteScientist/webpack,NekR/webpack