Open thefubon opened 3 months ago
Any fix for this?
use next.config.js instead of next.config.mjs
Just do:
import nextPwa from "next-pwa";
const withPWA = nextPwa({ ... });
// ...
// next.config.mjs
/** @type {import('next').NextConfig} */
import nextPWA from "next-pwa";
const nextConfig = {};
const withPWA = nextPWA({
dest: "public",
})(nextConfig);
export default withPWA;
Summary
Versions
How To Reproduce