diff --git a/src/options.ts b/src/options.ts index dfc59c18de..4ef521dc4d 100644 --- a/src/options.ts +++ b/src/options.ts @@ -1,4 +1,4 @@ -import { resolve } from 'pathe' +import { resolve, join } from 'pathe' import { loadConfig } from 'c12' import { klona } from 'klona/full' import { camelCase } from 'scule' @@ -121,6 +121,15 @@ export async function loadOptions (userConfig: NitroConfig = {}): Promise resolvePath(p, options)) + return options }