mirror of
https://github.com/grafana/grafana.git
synced 2024-11-22 08:56:43 -06:00
WebpackDev: Resolve react-router-dom from local node modules (#89547)
resolve react-router-dom from local node modules
This commit is contained in:
parent
bcb168c39d
commit
8f99d58aaf
@ -52,6 +52,10 @@ module.exports = (env = {}) => {
|
||||
// the same singletons
|
||||
'@grafana/runtime': path.resolve(__dirname, '../../packages/grafana-runtime'),
|
||||
'@grafana/data': path.resolve(__dirname, '../../packages/grafana-data'),
|
||||
|
||||
// This is required to correctly resolve react-router-dom when linking with
|
||||
// local version of @grafana/scenes
|
||||
'react-router-dom': path.resolve('./node_modules/react-router-dom'),
|
||||
},
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user