fix(web): remove pwa support (#1078)

This commit is contained in:
Himself65
2023-02-16 20:57:30 -06:00
committed by GitHub
parent 6f6921079e
commit f68b4934c6
3 changed files with 20 additions and 585 deletions

View File

@@ -106,11 +106,6 @@ const withDebugLocal = require('next-debug-local')(
}
);
const withPWA = require('next-pwa')({
dest: 'public',
scope: '/_next',
disable: process.env.NODE_ENV !== 'production',
});
const detectFirebaseConfig = () => {
if (!process.env.NEXT_PUBLIC_FIREBASE_API_KEY) {
printer.warn('NEXT_PUBLIC_FIREBASE_API_KEY not found, please check it');
@@ -120,4 +115,4 @@ const detectFirebaseConfig = () => {
};
detectFirebaseConfig();
module.exports = withDebugLocal(withPWA(nextConfig));
module.exports = withDebugLocal(nextConfig);