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

pull/40287/head
Domas 4 years ago committed by GitHub
parent 621bd477d0
commit 5267ea35ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      scripts/webpack/webpack.common.js

@ -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

Loading…
Cancel
Save