mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 06:22:51 +08:00
remove webpack aliasing for runtime + data (#102449)
This commit is contained in:
@ -52,11 +52,6 @@ module.exports = (env = {}) => {
|
||||
// Packages linked for development need react to be resolved from the same location
|
||||
react: path.resolve('./node_modules/react'),
|
||||
|
||||
// Also Grafana packages need to be resolved from the same location so they share
|
||||
// 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'),
|
||||
|
Reference in New Issue
Block a user