Fix dynamic import in viewContainer
This commit is contained in:
parent
9343318a4f
commit
6c813996ae
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue