mirror of
https://github.com/grafana/grafana.git
synced 2025-09-18 09:33:09 +08:00
remove webpack aliasing for runtime + data (#102449)
This commit is contained in:
@ -39,6 +39,7 @@
|
||||
"@grafana/schema": "12.0.0-pre",
|
||||
"@types/d3-interpolate": "^3.0.0",
|
||||
"@types/string-hash": "1.1.3",
|
||||
"@types/systemjs": "6.15.1",
|
||||
"d3-interpolate": "3.0.1",
|
||||
"date-fns": "4.1.0",
|
||||
"dompurify": "3.2.4",
|
||||
|
@ -42,6 +42,7 @@
|
||||
"@grafana/faro-web-sdk": "^1.13.2",
|
||||
"@grafana/schema": "12.0.0-pre",
|
||||
"@grafana/ui": "12.0.0-pre",
|
||||
"@types/systemjs": "6.15.1",
|
||||
"history": "4.10.1",
|
||||
"lodash": "4.17.21",
|
||||
"react-loading-skeleton": "3.5.0",
|
||||
@ -62,7 +63,6 @@
|
||||
"@types/lodash": "4.17.15",
|
||||
"@types/react": "18.3.18",
|
||||
"@types/react-dom": "18.3.5",
|
||||
"@types/systemjs": "6.15.1",
|
||||
"esbuild": "0.25.0",
|
||||
"lodash": "4.17.21",
|
||||
"react": "18.3.1",
|
||||
|
@ -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