From 310973184ef20dfb2cd74be7c7e89efeadbdcc9a Mon Sep 17 00:00:00 2001 From: Sivan Agranov <88330203+SivanA-Kaltura@users.noreply.github.com> Date: Thu, 1 Feb 2024 16:55:12 +0200 Subject: [PATCH] add preact/hooks to webpack externals --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 12ca176..ede0f89 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -74,7 +74,8 @@ module.exports = (env, { mode }) => { '@playkit-js/playkit-js-ui': 'root KalturaPlayer.ui', '@playkit-js/playkit-js': 'root KalturaPlayer.core', preact: 'root KalturaPlayer.ui.preact', - 'preact-i18n': 'root KalturaPlayer.ui.preacti18n' + 'preact-i18n': 'root KalturaPlayer.ui.preacti18n', + 'preact/hooks': 'root KalturaPlayer.ui.preactHooks' }, devServer: { static: {