discourse/app
David Taylor a01b1dd648
PERF: Update ember-auto-import and webpack (#15919)
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
..
assets PERF: Update ember-auto-import and webpack (#15919) 2022-02-14 11:21:39 +00:00
controllers FEATURE: Redeem invites for existent users (#15866) 2022-02-09 17:22:30 +02:00
helpers PERF: Update ember-auto-import and webpack (#15919) 2022-02-14 11:21:39 +00:00
jobs DEV: Fix typo. (#15857) 2022-02-08 09:04:53 +08:00
mailers FEATURE: Allow sending group SMTP emails with from alias (#15687) 2022-02-07 13:52:01 +10:00
models DEV: Improve theme error handling UX 2022-02-14 10:11:19 +00:00
serializers FEATURE: Add external_id to topics (#15825) 2022-02-08 20:55:32 -07:00
services DEV: Fix small typo. (#15904) 2022-02-11 11:51:51 +08:00
views PERF: Update ember-auto-import and webpack (#15919) 2022-02-14 11:21:39 +00:00