mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Setup webpack and babel for webOS 1.2
This commit is contained in:
parent
c640e17ea8
commit
932d0e2af3
4 changed files with 21 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
import { importModule } from '@uupaa/dynamic-import-polyfill';
|
||||
import './viewManager/viewContainer.css';
|
||||
import Dashboard from '../scripts/clientUtils';
|
||||
|
||||
|
@ -17,7 +18,7 @@ import Dashboard from '../scripts/clientUtils';
|
|||
|
||||
controllerUrl = Dashboard.getPluginUrl(controllerUrl);
|
||||
const apiUrl = ApiClient.getUrl('/web/' + controllerUrl);
|
||||
return import(/* webpackIgnore: true */ apiUrl).then((ControllerFactory) => {
|
||||
return importModule(apiUrl).then((ControllerFactory) => {
|
||||
options.controllerFactory = ControllerFactory;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue