import PluginLoader from '@jbrowse/core/PluginLoader';
export default async function loadPlugins(pluginDefinitions, args) {
    const pluginLoader = new PluginLoader(pluginDefinitions, args);
    pluginLoader.installGlobalReExports(window);
    return pluginLoader.load(args?.baseUrl);
}
