webpack 的配置 new workboxPlugin.InjectManifest({ swSrc: 'sw.js', swDest: "serviceWorker.js" }) 报错: readFile为空?
workbox-webpack-plugin@3.6.3 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 应该是你的webpack版本太低导致的吧
workbox-webpack-plugin@3.6.3 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0
应该是你的webpack版本太低导致的吧