mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 01:15:58 +00:00
fix(kit): load dotenv if option is missing (#3029)
This commit is contained in:
parent
a3579b7a1c
commit
ed4f4f51ab
@ -28,7 +28,7 @@ export async function loadNuxtConfig (opts: LoadNuxtConfigOptions): Promise<Nuxt
|
||||
name: 'nuxt',
|
||||
configFile: 'nuxt.config',
|
||||
rcFile: '.nuxtrc',
|
||||
dotenv: opts.dotenv,
|
||||
dotenv: typeof opts.dotenv === 'undefined' ? {} as DotenvOptions : opts.dotenv,
|
||||
globalRc: true,
|
||||
overrides: opts.config
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user