Closed ydrea closed 2 years ago
I was facing a similar issue after upgrading to version 5.6.0. You need to write the next.config.js
in a different way.
Here is a sample config
const withPWA = require("next-pwa")({
dest: "public",
// put other next-pwa options here
});
const nextConfig = withPWA({
reactStrictMode: true,
// put other next js options here
});
module.exports = nextConfig;
Breaks the compiling routine...