mirror of
https://github.com/grafana/grafana.git
synced 2025-09-17 20:08:52 +08:00
Plugins: Sandbox frontend plugins DOM access. (#69246)
This commit is contained in:
@ -25,6 +25,13 @@ module.exports = {
|
||||
// some sub-dependencies use a different version of @emotion/react and generate warnings
|
||||
// in the browser about @emotion/react loaded twice. We want to only load it once
|
||||
'@emotion/react': require.resolve('@emotion/react'),
|
||||
// due to our webpack configuration not understanding package.json `exports`
|
||||
// correctly we must alias this package to the correct file
|
||||
// the alternative to this alias is to copy-paste the file into our
|
||||
// source code and miss out in updates
|
||||
'@locker/near-membrane-dom/custom-devtools-formatter': require.resolve(
|
||||
'@locker/near-membrane-dom/custom-devtools-formatter.js'
|
||||
),
|
||||
},
|
||||
modules: ['node_modules', path.resolve('public')],
|
||||
fallback: {
|
||||
|
Reference in New Issue
Block a user