Using electron-builder with multipass


I’m creating a snap for an electron app and have configured the package.json file for electron-builder.

I have multipass installed and if I snap a regular snapcraft.yaml it will create a container.
But not with electron-builder.

Is there a way to tell electron-builder to use core18 as base and hence build in a container?