discourse/app/assets/javascripts/discourse
Godfrey Chan 923b51ad25
DEV: add loader.js shims for packages used across bundles (#22703)
This adds a new `loaderShim()` function to ensure certain modules
are present in the `loader.js` registry and therefore runtime
`require()`-able.

Currently, the classic build pipeline puts a lot of things in the
runtime `loader.js` registry automatically. For example, all of
the ember-auto-import packages are in there.

Going forward, and especially as we switch to the Embroider build
pipeline, this will not be guarenteed. We need to keep an eye on
what modules (packages) our "external" bundles (admin, wizard,
markdown-it, plugins, etc) are expecting to be present and put
them into the registry proactively.
2023-08-09 12:04:41 +01:00
..
app DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
config DEV: Revert "DEV: Update replaceWith on Route (#22645)" (#22693) 2023-07-19 10:47:31 -05:00
lib DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
public/assets/scripts DEV: Simplify qunit target selection (#22591) 2023-07-13 14:20:00 +01:00
scripts Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
tests DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
.ember-cli DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
.npmrc
.watchmanconfig DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
ember-cli-build.js DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
jsconfig.json DEV: Add discourse/tests to jsconfig (#19031) 2022-11-15 11:33:56 +00:00
package.json DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
testem.js DEV: Improve ember-cli 'LOAD_PLUGINS' behavior (#22590) 2023-07-13 11:27:29 +01:00