Can someone assist me with PWA implementation?
I tried running npm run build, but it was unsuccessful.
> <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="cdbaacbface0abbfa2a3b98dfde3fce3fd">[email protected]</a> build
> next build
⚠ Invalid next.config.mjs options detected:
⚠ Unrecognized key(s) in object: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21'
⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
▲ Next.js 14.2.3
Creating an optimized production build ...
> [PWA] Compile server
> [PWA] Compile server
> [PWA] Compile client (static)
> [PWA] Auto register service worker with: /Users/tsubasa/Documents/development/hackathon/wara-front/node_modules/next-pwa/register.js
> [PWA] Service worker: /Users/tsubasa/Documents/development/hackathon/wara-front/.next/sw.js
> [PWA] url: /sw.js
> [PWA] scope: /
Failed to compile.
Please check your GenerateSW plugin configuration:
[WebpackGenerateSW] 'reactStrictMode' property is not expected to be here. Did you mean property 'exclude'?
> Build failed because of webpack errors
It seems like modifying next.config.mjs is not an option.