Skip to content

Commit edd7389

Browse files
authored
Respect envDir when resolving assetUrl
1 parent accb5bd commit edd7389

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function laravel(config: string|string[]|PluginConfig): LaravelPl
6363
enforce: 'post',
6464
config: (userConfig, { command, mode }) => {
6565
const ssr = !! userConfig.build?.ssr
66-
const env = loadEnv(mode, process.cwd(), '')
66+
const env = loadEnv(mode, userConfig.envDir || process.cwd(), '')
6767
const assetUrl = env.ASSET_URL ?? ''
6868

6969
return {

0 commit comments

Comments
 (0)