From 5267ea35eaecc58d90efaa2d441dae08d112b17c Mon Sep 17 00:00:00 2001 From: Domas Date: Mon, 11 Oct 2021 16:24:03 +0300 Subject: [PATCH] alias react-hook-form in webpack config (#40284) --- scripts/webpack/webpack.common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/webpack/webpack.common.js b/scripts/webpack/webpack.common.js index 4d9823c6e17..8cfaa58cfc4 100644 --- a/scripts/webpack/webpack.common.js +++ b/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