chore: Upgrade to webpack 5, fix conflicting issues with react-router under docusaurus with yarn workspaces
This commit is contained in:
1 parent
de412f2eef
commit
825e13bcf3
20 files changed
+825
-1992
No files matched your search
@@ -1,6 +0,0 @@
|
||||
// TODO: replace with HistoryRouter https://github.com/ReactTraining/react-router/pull/7586
|
||||
import { createBrowserHistory, createHashHistory } from 'history';
|
||||
const useHashRouting = JSON.parse(process.env.USE_HASH_ROUTER);
|
||||
const router = useHashRouting ? createHashHistory() : createBrowserHistory();
|
||||
|
||||
export default router;
|
||||
Reference in new issue
Block a user