1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix dynamic import in viewContainer

This commit is contained in:
Bill Thornton 2020-09-08 09:20:54 -04:00 committed by vitorsemeano
parent 9343318a4f
commit 6c813996ae

View file

@ -15,7 +15,7 @@ import './viewManager/viewContainer.css';
controllerUrl = Dashboard.getPluginUrl(controllerUrl); controllerUrl = Dashboard.getPluginUrl(controllerUrl);
const apiUrl = ApiClient.getUrl('/web/' + controllerUrl); const apiUrl = ApiClient.getUrl('/web/' + controllerUrl);
return import(apiUrl).then((ControllerFactory) => { return import(/* webpackIgnore: true */ apiUrl).then((ControllerFactory) => {
options.controllerFactory = ControllerFactory; options.controllerFactory = ControllerFactory;
}); });
} }