From ee20a00f65743a1aee5a642f837326d5c15ff3e9 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 3 Sep 2022 12:35:16 +0200 Subject: [PATCH] chore: fix typo in deprecation messages --- packages/nuxt/src/core/nuxt.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nuxt/src/core/nuxt.ts b/packages/nuxt/src/core/nuxt.ts index 1c05d5b3c9..5c7a19c947 100644 --- a/packages/nuxt/src/core/nuxt.ts +++ b/packages/nuxt/src/core/nuxt.ts @@ -142,11 +142,11 @@ async function initNuxt (nuxt: Nuxt) { }, 'autoImports:dirs': { to: 'imports:dirs', - message: '`autoImports:sources` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + message: '`autoImports:dirs` hook is deprecated. Use `addImportsDir()` from `@nuxt/kit` or `imports:dirs` with `nuxt>=3.0.0-rc.9`.' }, 'autoImports:extend': { to: 'imports:extend', - message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:sources` with `nuxt>=3.0.0-rc.9`.' + message: '`autoImports:extend` hook is deprecated. Use `addImports()` from `@nuxt/kit` or `imports:extend` with `nuxt>=3.0.0-rc.9`.' } })