From 5b750a8bc321a40f26ce18c8d3d8fb8f4106359a Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sun, 8 Aug 2021 23:48:37 +0200 Subject: feat: much smoother local mode --- next.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'next.config.js') diff --git a/next.config.js b/next.config.js index 9f9dc66..49e3293 100644 --- a/next.config.js +++ b/next.config.js @@ -2,11 +2,12 @@ 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], { +module.exports = withPlugins([withTM, withPWA, withOrga], { distDir: 'build', pwa: { dest: 'build', -- cgit v1.2.3