Skip to content

Commit

Permalink
Merge pull request #5489 from Laravel-Backpack/set-extension-scripts-…
Browse files Browse the repository at this point in the history
…styles

Set/Force the extension to JS/CSS on scripts and styles
  • Loading branch information
tabacitu authored Jun 4, 2024
2 parents 9eea681 + 2821d2b commit d0cc722
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/resources/views/ui/inc/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@if(is_array($path))
@basset(...$path)
@else
@basset($path)
@basset($path, true, [], 'js')
@endif
@endforeach
@endif
Expand Down
2 changes: 1 addition & 1 deletion src/resources/views/ui/inc/styles.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@if(is_array($path))
@basset(...$path)
@else
@basset($path)
@basset($path, true, [], 'css')
@endif
@endforeach
@endif
Expand Down

0 comments on commit d0cc722

Please sign in to comment.