From 3c9bb27148457a186f9caaee001c072d16689c50 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 2 Dec 2020 13:27:01 +0000 Subject: [PATCH] fix: temporary remove dev warning for pwa module (#40) --- packages/nitro/src/module/nuxt2.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nitro/src/module/nuxt2.ts b/packages/nitro/src/module/nuxt2.ts index fcbf13337f..443db1bcd6 100644 --- a/packages/nitro/src/module/nuxt2.ts +++ b/packages/nitro/src/module/nuxt2.ts @@ -59,6 +59,10 @@ export default function (nuxt, moduleContainer) { nuxt.server.setLoadingMiddleware(handle) continue } + // Temporary hide for @nuxt/pwa module + if (route === '/_nuxt/' && process.env.NODE_ENV === 'development') { + continue + } unsupported.push(m) continue }