summaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-08-20 19:32:42 +0200
committerThomas F. K. Jorna <[email protected]>2021-08-20 19:32:42 +0200
commita62d08c2ab525cb90ff1bb9d061cfd00c6180473 (patch)
tree8eb98b3fbf11ec38ef2e937f448a4ee893afb727 /next.config.js
parent0201e0dd651b0e1ec98a36fc0faae14b2b60648e (diff)
fix: remove service worker. Possibly fixes #61
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js7
1 files changed, 1 insertions, 6 deletions
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',
- },
})