Index.js is Literally in my webpack bundle, causing broken build

Hi,

I’ve got this webpack project I’m trying to upgrade, I can’t really go follow the recommended path since I’ve implemented custom logic in webpack which tends to break with app scripts etc.

now I’ve gotten quite far, but there seems to be an exact copy of “ionic-angular/es2015/index.js” in my webpack.

I’m quite confused I guess it’s normal, that a js file is filled with export * from thingies.
This however breaks my webpack since it’s not valid JS, where should I focus on to get this fixed?