Add SPF record notice [MAILPOET-2295]

This commit is contained in:
wxa
2019-09-02 09:56:52 +03:00
committed by Jack Kitterhing
parent f67e356202
commit a97376b443
6 changed files with 48 additions and 0 deletions

View File

@@ -110,6 +110,11 @@ const baseConfig = {
include: path.resolve(__dirname, 'assets/js/src/hooks.js'),
use: 'expose-loader?' + globalPrefix + '.Hooks',
},
{
// Expose for usage in the settings view inline JS
include: path.resolve(__dirname, 'assets/js/src/common/check_spf_record.jsx'),
use: 'expose-loader?' + globalPrefix + '.checkSPFRecord',
},
{
test: /listing.jsx/i,
use: [
@@ -297,6 +302,7 @@ const adminConfig = {
'newsletters/types/automatic_emails/events_list.jsx',
'newsletters/types/automatic_emails/breadcrumb.jsx',
'newsletters/types/welcome/scheduling.jsx',
'common/check_spf_record.jsx',
],
admin: 'webpack_admin_index.jsx',
form_editor: 'form_editor/webpack_index.jsx',