From a62d08c2ab525cb90ff1bb9d061cfd00c6180473 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Fri, 20 Aug 2021 19:32:42 +0200 Subject: fix: remove service worker. Possibly fixes #61 --- next.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js index 49e3293..d6d2e0e 100644 --- a/next.config.js +++ b/next.config.js @@ -1,15 +1,10 @@ const fs = require('fs') const withPlugins = require('next-compose-plugins') -const withPWA = require('next-pwa') -const withOrga = require('@orgajs/next') const d3packages = fs.readdirSync('node_modules').filter((name) => name.startsWith('d3-')) const withTM = require('next-transpile-modules')(d3packages) -module.exports = withPlugins([withTM, withPWA, withOrga], { +module.exports = withPlugins([withTM], { distDir: 'build', - pwa: { - dest: 'build', - }, }) -- cgit v1.2.3