Ionic 4; Capacitor - get version in the web

I am migrating our app from cordova to Capacitor. We will also be including a web version in the same project.

Question is: Is there a way to get the version of the app when in the web? I tried the following things, but none of them seems to be working on the web, when all are working on a native device.

        let cInfo = await (<any>window).IonicCordova.deploy.getConfiguration(); // Property doesn't appear on window on the web
        const config = await Plugins.Device.getInfo(); // No version on the web
        const appInfo = await; // Error in the web
        const deployInfo = await; // Error in the web
        const versions = await; // Error in the web

Thanks in advance,