Ionic angular app single repository for Mobile and desktop

Hi everyone,
I have a responsive angular app which was migrated to Ionic in order to perform as a hybrid native app.
The Android and IOS apps work as expected with IONIC & CORDOVA.
The web and IONIC apps are supposed to be synced in most cases.
I find myself managing 2 repositories, one for IONIC mobile apps and another for the web app.
The merges between the repositories are a big pain.
I thought about using the browser platform in IONIC to build a web app and merge the repositories into one when the codebase is shared and I use Cordova to build the different platforms.

What’s the best practice in this scenario?
Have anyone done this and lived to tell his story?