Skip to content

Commit

Permalink
Add path-to-regexp to list of modules that should always be in commons
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed May 11, 2017
1 parent 41a4d26 commit 7efee0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion packages/gatsby/lib/cache-dir/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const addNotFoundRoute = () => {
}
}

console.log("withRouter", withRouter)
const Root = () =>
$(
Router,
Expand Down
1 change: 1 addition & 0 deletions packages/gatsby/lib/utils/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ module.exports = async (
`react-router`,
`react-router-dom`,
`react-router-scroll`,
`path-to-regexp`,
`scroll-behavior`,
`history`,
]
Expand Down

0 comments on commit 7efee0b

Please sign in to comment.