alias react-hook-form in webpack config (#40284)

This commit is contained in:
Domas 2021-10-11 16:24:03 +03:00 committed by GitHub
parent 621bd477d0
commit 5267ea35ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ module.exports = {
// problems with @grafana/ui
'react-router': require.resolve('react-router'),
'react-router-dom': require.resolve('react-router-dom'),
'react-hook-form': require.resolve('react-hook-form'),
jquery: require.resolve('jquery'),
// some of data source pluginis use global Prism object to add the language definition
// we want to have same Prism object in core and in grafana/ui