8000 fix(vite): #55793 add explicit as-script to link tag for script modul… by midsonlajeanty · Pull Request #55794 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

fix(vite): #55793 add explicit as-script to link tag for script modul… #55794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(vite): #55793 add explicit as-script to link tag for script modul…
…epreload
  • Loading branch information
midsonlajeanty committed May 20, 2025
commit c1fd82d614e35f5ebf3965ba046f19359e37bee6
1 change: 1 addition & 0 deletions src/Illuminate/Foundation/Vite.php
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ protected function resolvePreloadTagAttributes($src, $url, $chunk, $manifest)
'href' => $url,
'nonce' => $this->nonce ?? false,
'crossorigin' => $this->resolveScriptTagAttributes($src, $url, $chunk, $manifest)['crossorigin'] ?? false,
'as' => 'script',
];

$attributes = $this->integrityKey !== false
Expand Down
Loading
0