mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Replace mini-loader with Ember's loader.js
library (#18643)
We already have this as a dependency, so it makes sense to use it rather than using our own not-quite-spec-compliant implementation
This commit is contained in:
@ -142,7 +142,7 @@ class DiscourseJsProcessor
|
||||
JS
|
||||
|
||||
# define/require support
|
||||
load_file_in_context(ctx, "mini-loader.js")
|
||||
load_file_in_context(ctx, "node_modules/loader.js/dist/loader/loader.js")
|
||||
|
||||
# Babel
|
||||
load_file_in_context(ctx, "node_modules/@babel/standalone/babel.js")
|
||||
|
Reference in New Issue
Block a user