Commit 18ae557e authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: remove defer from js script declaration as it is a module

parent aa84b20d
......@@ -120,7 +120,7 @@ class Vite
CODE_SAMPLE
,
'js' => <<<CODE_SAMPLE
<script type="module" src="{$assetUrl}" defer></script>
<script type="module" src="{$assetUrl}"></script>
CODE_SAMPLE
,
default => '',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment