From c20eff6f40a994945f8b24d095c4f6f2f270c925 Mon Sep 17 00:00:00 2001 From: Kirill Rogovoy Date: Fri, 23 Jul 2021 16:29:33 +0300 Subject: Add README and upload production build --- next.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'next.config.js') 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' +}) -- cgit v1.2.3