diff --git a/lib/meta/module.js b/lib/meta/module.js index 401b193b..400c82dc 100755 --- a/lib/meta/module.js +++ b/lib/meta/module.js @@ -109,6 +109,7 @@ function generateMeta (pwa) { const favicon = join(this.options.srcDir, this.options.dir.static, 'favicon.ico') if (options.favicon && !find(this.options.head.link, 'rel', 'shortcut icon') && existsSync(favicon)) { + // eslint-disable-next-line no-console console.warn('You are using a low quality icon, use icon png. See https://pwa.nuxtjs.org/icon/') this.options.head.link.push({ rel: 'shortcut icon', href: this.options.router.base + 'favicon.ico' }) diff --git a/lib/workbox/options.js b/lib/workbox/options.js index 7a990e88..f6f01746 100644 --- a/lib/workbox/options.js +++ b/lib/workbox/options.js @@ -92,6 +92,7 @@ function getOptions (pwa) { strategyPlugins: (entry.strategyPlugins || []).map((plugin) => { const use = pluginModules[plugin.use] if (!use) { + // eslint-disable-next-line no-console console.warn(`Invalid strategy plugin ${plugin.use}`) return }