Bug with path-to-regexp and webpack
path-to-regexp
was included as project's dependency as react-router-dom
contains an outdated version of this package which concludes to a TypeError
when combined with webpack
. This dependency should eventually be removed when react-router-dom
will resolve the issue.