summaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-23 11:02:26 +0300
committerKirill Rogovoy <[email protected]>2021-07-23 11:02:26 +0300
commit73308af061af5e17ac7d4a73fa027a2f303c70dd (patch)
tree816fb8231e13f58f7afe822742513b3150cdc871 /next.config.js
parentb8c58914cc1e251ce161905340647b6824d0a7c4 (diff)
Update graph data when Emacs node changes + minor improvements
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/next.config.js b/next.config.js
index 01936a4..6e7400c 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,9 +1,8 @@
const fs = require('fs')
-/* eslint-disable @typescript-eslint/no-var-requires, immutable/no-mutation */
const withPlugins = require('next-compose-plugins')
-const d3packages = fs.readdirSync('node_modules').filter(name => name.startsWith('d3-'))
+const d3packages = fs.readdirSync('node_modules').filter((name) => name.startsWith('d3-'))
const withTM = require('next-transpile-modules')(d3packages)
module.exports = withPlugins([withTM])