diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-08 23:48:37 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-08 23:48:37 +0200 |
commit | 5b750a8bc321a40f26ce18c8d3d8fb8f4106359a (patch) | |
tree | d2a16e52246db1a127afd84028214a7d5ed07045 /next.config.js | |
parent | c745d07018a46b1a20b9f571d999ecf7a092c2e1 (diff) |
feat: much smoother local mode
Diffstat (limited to 'next.config.js')
-rw-r--r-- | next.config.js | 3 |
1 files changed, 2 insertions, 1 deletions
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', |