mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
chore: remove next pwa (#5396)
This commit is contained in:
@@ -4,10 +4,6 @@ require("dotenv").config({ path: ".env" });
|
||||
// const path = require("path");
|
||||
|
||||
const { withSentryConfig } = require("@sentry/nextjs");
|
||||
const withPWA = require("next-pwa")({
|
||||
dest: "public",
|
||||
disable: process.env.NODE_ENV === "development",
|
||||
});
|
||||
|
||||
const nextConfig = {
|
||||
trailingSlash: true,
|
||||
@@ -133,10 +129,8 @@ const sentryConfig = {
|
||||
automaticVercelMonitors: true,
|
||||
};
|
||||
|
||||
const config = withPWA(nextConfig);
|
||||
|
||||
if (parseInt(process.env.SENTRY_MONITORING_ENABLED || "0", 10)) {
|
||||
module.exports = withSentryConfig(config, sentryConfig);
|
||||
module.exports = withSentryConfig(nextConfig, sentryConfig);
|
||||
} else {
|
||||
module.exports = config;
|
||||
module.exports = nextConfig;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
"mobx-react": "^9.1.1",
|
||||
"mobx-utils": "^6.0.8",
|
||||
"next": "^14.2.3",
|
||||
"next-pwa": "^5.6.0",
|
||||
"next-themes": "^0.2.1",
|
||||
"nprogress": "^0.2.0",
|
||||
"posthog-js": "^1.131.3",
|
||||
|
||||
Reference in New Issue
Block a user