Expose help tooltip

[PREMIUM-115]
This commit is contained in:
Pavel Dohnal
2019-05-15 15:09:14 +02:00
committed by M. Shull
parent 437a231c05
commit b1448a7025

View File

@@ -193,6 +193,13 @@ const baseConfig = {
'babel-loader', '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'), include: path.resolve(__dirname, 'assets/js/src/newsletters/types/automatic_emails/breadcrumb.jsx'),
use: [ use: [
@@ -244,6 +251,7 @@ const adminConfig = {
'react-string-replace', 'react-string-replace',
'prop-types', 'prop-types',
'classnames', 'classnames',
'help-tooltip.jsx',
'form/form.jsx', 'form/form.jsx',
'listing/listing.jsx', 'listing/listing.jsx',
'newsletters/badges/stats.jsx', 'newsletters/badges/stats.jsx',