diff --git a/packages/nuxt/src/imports/module.ts b/packages/nuxt/src/imports/module.ts index ea1dfa740c..7b2a0f08bc 100644 --- a/packages/nuxt/src/imports/module.ts +++ b/packages/nuxt/src/imports/module.ts @@ -132,7 +132,7 @@ export default defineNuxtModule>({ const preset = presetMap.get(i.as) if (preset) { - console.warn(`[imports] "${i.as}" is already defined and auto imported from "${preset}" within nuxt itself. Please don't name your composable the same as a preset, as it will lead to unexpected behavior.`) + console.warn(`[imports] "${i.as}" is already defined and auto imported from "${preset}" within nuxt itself. Please consider renaming "${i.as}" at ${i.from}.`) } i.priority = i.priority || priorities.find(([dir]) => i.from.startsWith(dir))?.[1]