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:
David Taylor
2022-10-18 14:53:06 +01:00
committed by GitHub
parent 43c2841a69
commit f7fdaa97d1
4 changed files with 3 additions and 236 deletions

View File

@ -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")