discourse/app/helpers
David Taylor a01b1dd648
PERF: Update ember-auto-import and webpack ()
This makes a small improvement to 'cold cache' ember-cli build times, and a large improvement to 'warm cache' build times

The ember-auto-import update means that vendor is now split into multiple files for efficiency. These are named `chunk.*`, and should be included immediately after the `vendor.js` file. This commit also updates the rails app to render script tags for these chunks.

This change was previously merged, and caused memory-related errors on RAM-constrained machines. This was because Webpack 5 switches from multiple worker processes to a single multi-threaded process. This meant that it was hitting node's default heap size limit (~500mb on a 1GB RAM server). Discourse's standard install procedure recommends adding 2GB swap to 1GB-RAM machines, so we can afford to override's Node's default via the `--max-old-space-size` flag.
2022-02-14 11:21:39 +00:00
..
application_helper.rb PERF: Update ember-auto-import and webpack () 2022-02-14 11:21:39 +00:00
common_helper.rb FEATURE: Implement nonces for Google Tag Manager integration () 2021-03-26 11:19:31 -04:00
email_helper.rb FIX: Do not interpret backreferences in email content 2021-07-08 15:56:09 -07:00
embed_helper.rb FIX: Display small post actions when embedding a topic () 2020-03-26 09:07:41 -03:00
emoji_helper.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. () 2021-06-25 14:48:36 -03:00
list_helper.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
qunit_helper.rb PERF: Update ember-auto-import and webpack () 2022-02-14 11:21:39 +00:00
topics_helper.rb Improve support for old browsers () 2020-04-29 21:40:21 +03:00
user_notifications_helper.rb DEV: Correct typos and spelling mistakes () 2021-05-21 11:43:47 +10:00