mirror of
https://github.com/grafana/grafana.git
synced 2025-01-02 12:17:01 -06:00
Build: Force same version of @emotion/react via webpack config (#66822)
This commit is contained in:
parent
0b2f7db224
commit
362936b002
@ -22,6 +22,9 @@ module.exports = {
|
||||
// some of data source plugins use global Prism object to add the language definition
|
||||
// we want to have same Prism object in core and in grafana/ui
|
||||
prismjs: require.resolve('prismjs'),
|
||||
// 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'),
|
||||
},
|
||||
modules: ['node_modules', path.resolve('public')],
|
||||
fallback: {
|
||||
|
Loading…
Reference in New Issue
Block a user