From bb1605252a5272b1a340a17bea69a3372b0d7bda Mon Sep 17 00:00:00 2001 From: Shu Uesugi Date: Wed, 22 Jan 2020 12:51:31 -0800 Subject: [PATCH] Remove unnecessary exportPathMap from examples --- examples/gh-pages/next.config.js | 6 ------ examples/with-dynamic-import/next.config.js | 8 -------- 2 files changed, 14 deletions(-) delete mode 100644 examples/with-dynamic-import/next.config.js diff --git a/examples/gh-pages/next.config.js b/examples/gh-pages/next.config.js index a682026bcc651c9..b7dc370739d7131 100644 --- a/examples/gh-pages/next.config.js +++ b/examples/gh-pages/next.config.js @@ -5,11 +5,5 @@ const debug = process.env.NODE_ENV !== 'production' module.exports = { - exportPathMap: function() { - return { - '/': { page: '/' }, - '/about': { page: '/about' }, - } - }, assetPrefix: !debug ? '/Next-gh-page-example/' : '', } diff --git a/examples/with-dynamic-import/next.config.js b/examples/with-dynamic-import/next.config.js deleted file mode 100644 index 9d92b6dab1a8de6..000000000000000 --- a/examples/with-dynamic-import/next.config.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - exportPathMap: function() { - return { - '/': { page: '/', query: { showMore: false } }, - '/about': { page: '/about' }, - } - }, -}