From ba0943aa22ab42a8a011ec058353602b60c0a5cb Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Sat, 21 Nov 2020 12:06:51 +0100 Subject: [PATCH] revert back auto mock warning --- packages/nitro/src/rollup/automock.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/nitro/src/rollup/automock.ts b/packages/nitro/src/rollup/automock.ts index 7393c5820d..f5aad11b10 100644 --- a/packages/nitro/src/rollup/automock.ts +++ b/packages/nitro/src/rollup/automock.ts @@ -1,8 +1,11 @@ +import consola from 'consola' + export function autoMock () { return { name: 'auto-mock', resolveId (src: string) { if (src && !src.startsWith('.') && !src.includes('?') && !src.includes('.js')) { + consola.warn('Auto mock external ', src) return { id: require.resolve('@nuxt/un/runtime/mock/proxy') }