mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user