Change the build/ path in vendor.js


My question is about something special. I’m using Ionic for building a wordpress template and it works well but I have to change manually the “build/” adress in the vendor.js file after each building (lazy loading pages). I don’t know much webpack but I think i’ts generating this path. How can I change that behavior ?
(I’m using Ionic 3.16.0 on Windows 10)