discourse/app/assets/javascripts/pretty-text
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
..
addon DEV: add loader.js shims for packages used across bundles (#22703) 2023-08-09 12:04:41 +01:00
app DEV: Move pretty-text into an ember-addon format (#9689) 2020-05-07 12:37:47 -04:00
config DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
engines/discourse-markdown DEV: Remove enable_experimental_hashtag_autocomplete logic (#22820) 2023-08-08 11:18:55 +10:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Update ember-cli to 4.12.0 (#21074) 2023-04-19 12:58:29 +02:00
index.js DEV: invert pretty-text build logic (#22524) 2023-07-10 23:11:49 +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