Change signature of externals function to an object
Change signature of externals function to an object

to be more extensible in future

#8527

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