Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

update PWA config

AykutSaracf3a20c8e2fdb
diff --git a/next.config.js b/next.config.js
index 57be011b..3e78ee72 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,5 +1,4 @@
const withPWA = require("next-pwa");
-const runtimeCaching = require("next-pwa/cache");
/**
* @type {import('next').NextConfig}
@@ -14,10 +13,9 @@ const nextConfig = {
styledComponents: true,
},
pwa: {
- disable: process.env.NODE_ENV === "development",
- runtimeCaching,
+ // disable: process.env.NODE_ENV === "development",
+ disable: true, // disable temp until issue #61 solved
dest: "public",
- register: true,
fallbacks: {
document: "/editor",
},