remove webpack aliasing for runtime + data (#102449)

This commit is contained in:
Ashley Harrison
2025-03-24 10:07:03 +00:00
committed by GitHub
parent 5d2dbd7883
commit ddd3b82581
4 changed files with 3 additions and 6 deletions

View File

@ -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'),