From 7110ca96eae91f6db485b01c8a38dcc17b190a5d Mon Sep 17 00:00:00 2001 From: endiliey Date: Wed, 30 Oct 2019 12:28:31 +0700 Subject: [PATCH 1/2] fix(v2): regression from prioritizing core node_modules logic --- packages/docusaurus-theme-classic/src/theme/Navbar/index.js | 1 + packages/docusaurus/src/webpack/base.ts | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Navbar/index.js b/packages/docusaurus-theme-classic/src/theme/Navbar/index.js index fd4f323679cb..260b826a8296 100644 --- a/packages/docusaurus-theme-classic/src/theme/Navbar/index.js +++ b/packages/docusaurus-theme-classic/src/theme/Navbar/index.js @@ -23,6 +23,7 @@ import styles from './styles.module.css'; function NavLink(props) { const toUrl = useBaseUrl(props.to); + console.log(toUrl); return ( Date: Wed, 30 Oct 2019 12:50:47 +0700 Subject: [PATCH 2/2] nits --- packages/docusaurus-theme-classic/src/theme/Navbar/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/docusaurus-theme-classic/src/theme/Navbar/index.js b/packages/docusaurus-theme-classic/src/theme/Navbar/index.js index 260b826a8296..fd4f323679cb 100644 --- a/packages/docusaurus-theme-classic/src/theme/Navbar/index.js +++ b/packages/docusaurus-theme-classic/src/theme/Navbar/index.js @@ -23,7 +23,6 @@ import styles from './styles.module.css'; function NavLink(props) { const toUrl = useBaseUrl(props.to); - console.log(toUrl); return (