summaryrefslogtreecommitdiff
path: root/next.config.js
diff options
context:
space:
mode:
authorKirill Rogovoy <[email protected]>2021-07-23 16:29:33 +0300
committerKirill Rogovoy <[email protected]>2021-07-23 16:29:33 +0300
commitc20eff6f40a994945f8b24d095c4f6f2f270c925 (patch)
tree012cfce86923362f8879f9394388c810074120d4 /next.config.js
parent356381d14cb1ff3cbd39c7e396dd14379336451b (diff)
Add README and upload production build
Diffstat (limited to 'next.config.js')
-rw-r--r--next.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js
index 6e7400c..3a51714 100644
--- a/next.config.js
+++ b/next.config.js
@@ -5,4 +5,6 @@ const withPlugins = require('next-compose-plugins')
const d3packages = fs.readdirSync('node_modules').filter((name) => name.startsWith('d3-'))
const withTM = require('next-transpile-modules')(d3packages)
-module.exports = withPlugins([withTM])
+module.exports = withPlugins([withTM], {
+ distDir: 'build'
+})