refactor(ES6): upgrade APIPlugin to ES6 (#3675)
refactor(ES6): upgrade APIPlugin to ES6 (#3675)

* refactor(ES6): upgrade APIPlugin to ES6

ts-webpack/webpack,SimenB/webpack,pugnascotia/webpack,cesarandreu/webpack,nkzawa/webpack,SimenB/webpack,cesarandreu/webpack,g0ddish/webpack,webpack/webpack,ts-webpack/webpack,SimenB/webpack,pugnascotia/webpack,jescalan/webpack,g0ddish/webpack,nkzawa/webpack,rlugojr/webpack,NekR/webpack,rlugojr/webpack,ts-webpack/webpack,ts-webpack/webpack,EliteScientist/webpack,webpack/webpack,pugnascotia/webpack,SimenB/webpack,cesarandreu/webpack,NekR/webpack,jescalan/webpack,jescalan/webpack,rlugojr/webpack,webpack/webpack,g0ddish/webpack,nkzawa/webpack,EliteScientist/webpack,webpack/webpack