|
|
|
@ -22,6 +22,9 @@ module.exports = { |
|
|
|
// some of data source plugins use global Prism object to add the language definition
|
|
|
|
// 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
|
|
|
|
// we want to have same Prism object in core and in grafana/ui
|
|
|
|
prismjs: require.resolve('prismjs'), |
|
|
|
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')], |
|
|
|
modules: ['node_modules', path.resolve('public')], |
|
|
|
fallback: { |
|
|
|
fallback: { |
|
|
|
|