Skip to content

Commit ab27312

Browse files
committed
wip it
1 parent f879ec4 commit ab27312

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

asset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const asset = (path) => {
22
// default to VITE_ASSET_URL
3-
let prefix = process.env.VITE_ASSET_URL
3+
let prefix = import.meta.env.VITE_ASSET_URL
44

55
if (!prefix) {
66
// fallback to determining ASSET_URL from meta tag

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": false,
33
"name": "@codinglabs/laravel-asset",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"description": "A helper to resolve paths to assets in a Laravel app",
66
"main": "asset.js",
77
"repository": {

0 commit comments

Comments
 (0)