From fc85bded9a22bef394d9cb5cac3433afbed8d40c Mon Sep 17 00:00:00 2001 From: unix Date: Tue, 12 May 2020 02:39:26 +0800 Subject: [PATCH] build: remove webpack config for absolute import --- next.config.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/next.config.js b/next.config.js index 4ec0a3b..a050541 100644 --- a/next.config.js +++ b/next.config.js @@ -21,14 +21,7 @@ const nextConfig = { VERSION: require('./package.json').version, }, - webpack(config) { - config.resolve.modules.push(__dirname) - return config - }, - experimental: { - reactRefresh: true, - redirects() { return [ {