discourse/app/assets/javascripts
David Taylor a0b94dca16
DEV: Use WebPack stats plugin to map entrypoints to chunks (#24239)
Previously, we were parsing webpack JS chunk filenames from the HTML files which ember-cli generates. This worked ok for simple entrypoints, but falls apart once we start using async imports(), which are not included in the HTML.

This commit uses the stats plugin to generate an assets.json file, and updates Rails to parse it instead of the HTML. Caching on the Rails side is also improved to avoid reading from the filesystem multiple times per request in develoment.

Co-authored-by: Godfrey Chan <godfreykfc@gmail.com>
2023-11-07 10:24:49 +00:00
..
admin DEV: Make admin experimental sidebar config more forgiving (#24236) 2023-11-07 13:20:57 +10:00
bootstrap-json DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
confirm-new-email
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
discourse DEV: Use WebPack stats plugin to map entrypoints to chunks (#24239) 2023-11-07 10:24:49 +00:00
discourse-common Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
discourse-hbr Build(deps-dev): Bump webpack in /app/assets/javascripts (#23939) 2023-10-16 11:23:00 +02:00
discourse-i18n DEV: Simplify I18n shim check (#24244) 2023-11-06 16:54:39 +00:00
discourse-markdown-it DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
discourse-plugins DEV: Simplify sprockets configuration (#24111) 2023-10-26 17:29:53 +01:00
discourse-widget-hbs DEV: Consolidate and update jsconfig, and add types packages (#23824) 2023-10-18 12:13:20 +01:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations
float-kit Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
patches DEV: remove @ember/jquery in favor of just jquery (#24034) 2023-10-25 10:14:50 +01:00
pretty-text Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
select-kit Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
theme-transpiler Build(deps): Bump babel-plugin-ember-template-compilation (#24204) 2023-11-02 19:21:37 +01:00
truth-helpers Build(deps-dev): Bump the types group (#23994) 2023-10-19 00:22:30 +02:00
wizard Build(deps-dev): Bump the types group (#24250) 2023-11-06 22:53:00 +01:00
.licensee.json
.npmrc
handlebars-shim.js
package.json DEV: remove markdown-it-bundle and custom build code (#23859) 2023-11-06 16:59:49 +00:00
polyfills.js
run-patch-package DEV: Automatically retry patch-package on failure (#23583) 2023-09-14 12:25:06 +01:00
service-worker.js.erb FIX: Ensure service-worker cache is cleaned correctly (#23204) 2023-08-23 13:58:32 +01:00
yarn.lock DEV: Use WebPack stats plugin to map entrypoints to chunks (#24239) 2023-11-07 10:24:49 +00:00