From 19b6c91e86e4f86870096802cb8f3122531013b0 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 2 Jul 2020 10:21:06 +0900 Subject: [PATCH] fix: basePath support --- next.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/next.config.js b/next.config.js index 4a473fc..4124d02 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,5 @@ module.exports = require("@next/mdx")({ extension: /\.mdx?$/, })({ pageExtensions: ["ts", "tsx", "md", "mdx"], - experimental: { - basePath: process.env.NEXT_PUBLIC_BASE_PATH || "", - }, + basePath: process.env.NEXT_PUBLIC_BASE_PATH || "", });