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 accb5bd commit edd7389Copy full SHA for edd7389
src/index.ts
@@ -63,7 +63,7 @@ export default function laravel(config: string|string[]|PluginConfig): LaravelPl
63
enforce: 'post',
64
config: (userConfig, { command, mode }) => {
65
const ssr = !! userConfig.build?.ssr
66
- const env = loadEnv(mode, process.cwd(), '')
+ const env = loadEnv(mode, userConfig.envDir || process.cwd(), '')
67
const assetUrl = env.ASSET_URL ?? ''
68
69
return {
0 commit comments