fix: temporary remove dev warning for pwa module (#40)

This commit is contained in:
Daniel Roe 2020-12-02 13:27:01 +00:00 committed by GitHub
parent 4685108c16
commit 3c9bb27148

View File

@ -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
}