We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f879ec4 commit ab27312Copy full SHA for ab27312
asset.js
@@ -1,6 +1,6 @@
1
export const asset = (path) => {
2
// default to VITE_ASSET_URL
3
- let prefix = process.env.VITE_ASSET_URL
+ let prefix = import.meta.env.VITE_ASSET_URL
4
5
if (!prefix) {
6
// fallback to determining ASSET_URL from meta tag
package.json
@@ -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",
7
"repository": {
0 commit comments