From b1448a7025d4365c3d44f86b080d9aee9d6375e7 Mon Sep 17 00:00:00 2001 From: Pavel Dohnal Date: Wed, 15 May 2019 15:09:14 +0200 Subject: [PATCH] Expose help tooltip [PREMIUM-115] --- webpack.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 5c214e9fa9..7ea8696a53 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -193,6 +193,13 @@ const baseConfig = { 'babel-loader', ] }, + { + include: path.resolve(__dirname, 'assets/js/src/help-tooltip.jsx'), + use: [ + 'expose-loader?' + globalPrefix + '.HelpTooltip', + 'babel-loader', + ] + }, { include: path.resolve(__dirname, 'assets/js/src/newsletters/types/automatic_emails/breadcrumb.jsx'), use: [ @@ -244,6 +251,7 @@ const adminConfig = { 'react-string-replace', 'prop-types', 'classnames', + 'help-tooltip.jsx', 'form/form.jsx', 'listing/listing.jsx', 'newsletters/badges/stats.jsx',