Skip to content

Commit

Permalink
Use livewire.min.js by default
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL committed Mar 6, 2024
1 parent f5d2a1b commit bd6780c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/wire-extender.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function getUri(append = '')

function getLivewireAssetUri()
{
return document.querySelector('[data-livewire-asset-uri]')?.getAttribute('data-livewire-asset-uri') ?? getUri('livewire/livewire.js');
return document.querySelector('[data-livewire-asset-uri]')?.getAttribute('data-livewire-asset-uri') ?? getUri('livewire/livewire.min.js');
}

function getLivewireUpdateUri()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wire-elements/wire-extender",
"version": "0.0.3",
"version": "0.0.4",
"description": "Wire Extender allows you to embed any Livewire component on any website or even within a static HTML file.",
"main": "js/wire-extender.js",
"files": [
Expand Down

0 comments on commit bd6780c

Please sign in to comment.