Ghost/core/server/services/mega
Daniel Lockyer ed6a8dca76 Inlined package requires to save boot time and memory
no issue

- following on from f4fb0fcbaa,
  this commit moves around some package requires in Ghost
- these are often niche packages that do something in a subsystem of
  Ghost, and are not necessarily be needed to boot the application
- these packages use non-negligible CPU and memory when they are
  required, so it makes sense to lazy-require them
- the concern here is that we obscure the code too much by moving
  random requires further into code, but the changes are small and the
  improvements big
- this commit bring the boot time since 4.19.0 down ~31% and initial
  memory usage down by a total of ~12%
2021-10-22 09:57:59 +02:00
..
email-preview.js Removed emailCardSegments labs flag (#13276) 2021-09-02 13:11:11 +01:00
index.js Extracted email preview service 2021-09-02 13:11:10 +04:00
mega.js replaced i18n with tpl in mega of core services (#13546) 2021-10-12 08:29:34 +01:00
post-email-serializer.js Inlined package requires to save boot time and memory 2021-10-22 09:57:59 +02:00
segment-parser.js Added unique filtering for segment parser 2021-06-30 17:43:28 +04:00
template.js Link color udpate in newsletter 2021-10-08 15:55:55 +02:00