[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-12-07 22:15:40 +00:00 committed by GitHub
parent 4678501953
commit 464f49d712
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ export default defineNuxtModule<Partial<ImportsOptions>>({
}), }),
async setup (options, nuxt) { async setup (options, nuxt) {
// TODO: fix sharing of defaults between invocations of modules // TODO: fix sharing of defaults between invocations of modules
const presets = structuredClone(options.presets as ImportPresetWithDeprecation[]) const presets = structuredClone(options.presets as ImportPresetWithDeprecation[])
// Allow modules extending sources // Allow modules extending sources
await nuxt.callHook('imports:sources', presets) await nuxt.callHook('imports:sources', presets)