hanford / next-offline

make your Next.js application work offline using service workers via Google's workbox
https://github.com/hanford/next-offline
1.59k stars 111 forks source link

I trigger a warnning at build time about SingleEntryPlugin #285

Closed tokisakiyuu closed 3 years ago

tokisakiyuu commented 3 years ago
(node:42464) [DEP_WEBPACK_SINGLE_ENTRY_PLUGIN] DeprecationWarning: SingleEntryPlugin was renamed to EntryPlugin

project dependencies:

{
  "dependencies": {
    "next": "10.1.3",
    "next-offline": "^5.0.5"
  },
  "devDependencies": {
    "@types/react": "^17.0.3",
    "autoprefixer": "^10.2.5",
    "cross-env": "^7.0.3",
    "postcss": "^8.1.7",
    "postcss-nested": "^5.0.5",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "sass": "^1.32.11",
    "typescript": "^4.2.4"
  }
}
nghiepdev commented 3 years ago

Same issue, because the workbox-webpack-plugin@5 and copy-webpack-plugin@5 dependencies not compatible with webpack5

Waiting for @hanford to update this plugin to compatibility in webpack5.

hanford commented 3 years ago

I'm not actively working on this plugin at the moment. Will happily review PR's though if someone is interested