Build webapp to work in different paths

Hello everyone,

I have a webapp with ionic-v3 with this specs
Captura de pantalla de 2020-10-28 09-10-12

There is a forum post like this but uses ionic-v4 that uses Angular CLI, that forum post is tagged as Ionic-v3, we think that this tag does not correspond. I use ionic-v3, that uses ionic-app-scripts:

The forum post that i refer to is this, At the end we want to do the exact same build that this post tries to resolve:

I basically want to change base-href or --deploy-url but with ionic-app-scripts, anyone knows how to do it?

ionic build --prod -- --base-href=/version1/ --deploy-url /statics/app/

It should be something like this but with ionic-app-scripts.