import { Capabilities } from '@kui-shell/core' ; export default async function preloadS3Plugin ( ) { import ( 'minio' ) ; const vfsPromise = Capabilities . inBrowser ( ) ? import ( './vfs/browser' ) . then ( _ => _ . default ( ) ) : import ( './vfs' ) . then ( _ => _ . default ( ) ) ; await vfsPromise ; }