DEV: Replace _eak_seen with entries (#23507)

TIL: `require._eak_seen` is an old alias for `require.entries` and it comes from Ember App Kit (a blast from the past!)
This commit is contained in:
Jarek Radosz
2023-09-11 16:03:27 +02:00
committed by GitHub
parent 898c75a05c
commit f27800ff88
4 changed files with 4 additions and 4 deletions

View File

@@ -479,7 +479,7 @@ export function setup(opts, siteSettings, state) {
// all of the modules under discourse-markdown or markdown-it
// directories are considered additional markdown "features" which
// may define their own rules
Object.keys(require._eak_seen).forEach((entry) => {
Object.keys(require.entries).forEach((entry) => {
if (check.test(entry)) {
const module = requirejs(entry);
if (module && module.setup) {