Skip to content

Commit

Permalink
fix(nuxt): configFile option ignored (#2252)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Feb 24, 2023
1 parent c3c3afe commit e366b95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nuxt/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ export default defineNuxtModule<UnocssNuxtOptions>({
})
}

const { config: unoConfig } = await loadConfig<UserConfig>(process.cwd(), {}, [], options)
const { config: unoConfig } = await loadConfig<UserConfig>(process.cwd(), {
configFile: options.configFile,
}, [], options)

if (
isNuxt3()
Expand Down

0 comments on commit e366b95

Please sign in to comment.