Fix: Provide default angular export for plugins (#75424)

fix(plugins): provide default export of angular for old system.register plugins
This commit is contained in:
Jack Westbrook 2023-09-26 12:24:09 +02:00 committed by GitHub
parent 95889b2e25
commit 8affc84d13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,10 @@ import { registerComponents } from './registerComponents';
// Angular plugin dependencies map // Angular plugin dependencies map
const importMap = { const importMap = {
angular: angular, angular: {
...angular,
default: angular,
},
'app/core/core_module': { 'app/core/core_module': {
default: coreModule, default: coreModule,
__useDefault: true, __useDefault: true,