mirror of
https://github.com/flarum/framework.git
synced 2025-04-26 22:54:03 +08: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:
parent
42fd8e26c1
commit
ce14273c43
@ -35,7 +35,7 @@
|
||||
};
|
||||
|
||||
@foreach ($bootstrappers as $bootstrapper)
|
||||
System.import('{{ $bootstrapper }}');
|
||||
System.get('{{ $bootstrapper }}');
|
||||
@endforeach
|
||||
|
||||
app.boot();
|
||||
|
Loading…
x
Reference in New Issue
Block a user