David Taylor
b59f1ad4ee
DEV: Improve strategy for identifying ember-cli JS chunks ( #23382 )
...
Our Ember build compiles assets into multiple chunks. In the past, we used the output from ember-auto-import-chunks-json-generator to give Rails a map of those chunks. However, that addon is specific to ember-auto-import, and is not compatible with Embroider.
Instead, we can switch to parsing the html files which are output by ember-cli. These are guaranteed to have the correct JS files in the correct place. A <discourse-chunked-script> will allow us to easily identify which chunks belong to which entrypoint.
In future, as we update more entrypoints to be compiled by Embroider/Webpack, we can easily introduce new wrappers.
Previously applied in 2c58d45 and reverted in 24d46fd. This version has been updated for subfolder support.
2023-09-04 13:56:34 +01:00
..
2023-07-26 12:45:35 +02:00
2023-08-28 12:58:47 +08:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-08-18 08:39:10 -04:00
2023-01-09 11:49:28 +00:00
2023-08-08 11:18:55 +10:00
2023-06-06 15:47:40 +10:00
2023-06-26 11:41:52 +02:00
2023-06-16 15:28:03 +01:00
2023-07-07 10:48:14 -05:00
2023-01-09 11:49:28 +00:00
2023-05-24 08:59:37 +08:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-08-02 10:46:37 +08:00
2023-03-22 14:43:32 +00:00
2023-08-24 16:44:06 -03:00
2023-08-02 12:48:20 +01:00
2023-08-08 11:18:55 +10:00
2023-01-09 11:49:28 +00:00
2023-01-16 09:08:44 +11:00
2023-01-09 11:49:28 +00:00
2023-08-01 13:53:23 +02:00
2023-06-26 11:41:52 +02:00
2023-06-05 08:06:00 +08:00
2023-08-15 14:16:06 -03:00
2023-06-05 08:06:00 +08:00
2023-01-09 11:49:28 +00:00
2023-03-13 08:09:38 +08:00
2023-08-04 15:28:58 +02:00
2023-08-31 09:11:23 -04:00
2023-02-13 12:39:45 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-07-28 12:53:46 +01:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-02-27 12:48:48 +11:00
2023-05-10 08:45:13 -03:00
2023-02-01 09:55:21 +00:00
2023-07-25 15:12:22 +08:00
2023-01-09 11:49:28 +00:00
2023-07-28 12:53:44 +01:00
2023-07-19 12:21:34 -06:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-24 16:36:22 +02:00
2023-06-26 13:16:03 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-01 10:00:01 +10:00
2023-06-02 19:47:29 +05:30
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-09-04 13:56:34 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-28 09:07:53 -06:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-23 11:18:33 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-02 10:46:37 +08:00
2023-06-26 10:09:57 +05:30
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-05-31 19:32:06 +05:30
2023-08-18 15:30:59 +00:00
2023-01-09 11:49:28 +00:00
2023-07-28 12:53:51 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-08-02 10:46:37 +08:00
2023-01-09 11:49:28 +00:00
2023-01-16 17:28:59 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-08 11:18:55 +10:00
2023-01-09 11:49:28 +00:00
2023-04-11 10:16:28 +01:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-09 13:55:00 -04:00
2023-08-09 13:55:00 -04:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-08-01 09:34:57 +01:00
2023-08-08 11:18:55 +10:00
2023-03-30 13:52:10 +10:00
2023-08-10 02:03:38 +02:00
2023-06-26 11:01:59 +08:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-02 15:28:17 -04:00
2022-07-28 10:27:38 +08:00
2023-01-09 11:49:28 +00:00
2023-07-27 10:52:33 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-30 16:14:06 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-07 22:51:24 +03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-18 18:15:23 +01:00
2023-03-06 11:41:47 +03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-08-25 16:49:49 +01:00
2023-02-28 14:31:59 +02:00
2023-06-26 11:41:52 +02:00
2023-03-31 09:03:15 +11:00
2023-06-13 11:08:55 -06:00
2023-06-28 06:21:56 +08:00
2023-02-07 15:28:59 -03:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-12 12:06:49 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-06-26 11:41:52 +02:00
2023-03-23 12:01:04 +00:00
2023-06-26 11:41:52 +02:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-07-25 14:04:39 +01:00
2023-07-28 12:53:51 +01:00