mirror of
https://github.com/flarum/core.git
synced 2025-07-16 14:26:25 +02:00
Use System.get instead of System.import
All of the modules we import should already be loaded, and we don't want to ever attempt to import them anyway because we do not include a Promise polyfill.
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
};
|
||||
|
||||
@foreach ($bootstrappers as $bootstrapper)
|
||||
System.import('{{ $bootstrapper }}');
|
||||
System.get('{{ $bootstrapper }}');
|
||||
@endforeach
|
||||
|
||||
app.boot();
|
||||
|
Reference in New Issue
Block a user