Skip to content

Commit

Permalink
wip it
Browse files Browse the repository at this point in the history
  • Loading branch information
stevethomas committed Nov 14, 2022
1 parent f879ec4 commit ab27312
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion asset.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const asset = (path) => {
// default to VITE_ASSET_URL
let prefix = process.env.VITE_ASSET_URL
let prefix = import.meta.env.VITE_ASSET_URL

if (!prefix) {
// fallback to determining ASSET_URL from meta tag
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": false,
"name": "@codinglabs/laravel-asset",
"version": "2.0.0",
"version": "2.0.1",
"description": "A helper to resolve paths to assets in a Laravel app",
"main": "asset.js",
"repository": {
Expand Down

0 comments on commit ab27312

Please sign in to comment.