remove defer attr

This commit is contained in:
Asnxthaony 2020-05-25 19:21:36 +08:00 committed by GitHub
parent 9bcace175d
commit 975464efb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,12 +48,10 @@ class FootComposer
$locale = app()->getLocale();
$scripts[] = [
'src' => $this->javascript->generate($locale),
'defer' => true,
];
if ($pluginI18n = $this->javascript->plugin($locale)) {
$scripts[] = [
'src' => $pluginI18n,
'defer' => true,
];
}
if (Str::startsWith(config('app.asset.env'), 'dev')) {