mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 21:29:32 +08:00
923b51ad25
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. |
||
---|---|---|
.. | ||
config | ||
helpers | ||
lib | ||
utils | ||
.gitkeep | ||
resolver.js |