Open satyamskillz opened 3 years ago
next-pwa
is deprecated?next.js
repository unfortunately, does the examples in this repository not good enough for you?(node:11604) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated
?next.js
examples are outdated, after this recent version update most of the examples are giving deprecation warning. my application is totally dependent on pwa, that's why I don't want to use any packages such as next-pwa
and next-sitemap
which might cause problems in future.I have installed this plugin and when this plugin is uninstalled, Vercel returns 500 internal server error.
This seems to be messing with package-lock.json (babel/core), hope this can be a hint of a fix.
I was stuck in the same problem, finally solved. Remove target: 'serverless'
in next.config.js. Ref: https://github.com/vercel/next.js/issues/10633
Summary
Recently, I noticed that NextJS 11 is shifted to Webpack 5 and JEST is renamed to JOI. when I am running my application production or development is don't see next-PWA generating any files. and I got these warnings during installation.
When I tried to run the old Nextjs example from here link I got these warnings. what is happing?
Versions
next-pwa
: ^5.2.24next
: ^11.0.1