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);

View File

@@ -51,7 +51,6 @@
"eslint-config-next": "12.3.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"next-pwa": "^5.6.0",
"raw-loader": "^4.0.2",
"typescript": "^4.9.5"
},