Rewrite automatic email imports to local modules

[MAILPOET-2382]
This commit is contained in:
Jan Jakeš
2019-10-02 10:46:20 +02:00
committed by Jack Kitterhing
parent 9267578e03
commit 33345c17b7
7 changed files with 16 additions and 15 deletions

View File

@ -4,6 +4,7 @@
// This is to avoid undefined import order & messy WebPack config.
// Code can be gradually refactored to avoid side effects completely.
import 'newsletters/automatic_emails.jsx'; // side effect - sets up automatic emails via hooks
import 'subscribers/subscribers.jsx'; // side effect - renders ReactDOM to document
import 'newsletters/newsletters.jsx'; // side effect - renders ReactDOM to window
import 'segments/segments.jsx'; // side effect - renders ReactDOM to document