mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-22 03:12:41 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
4678501953
commit
464f49d712
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user