mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Don't depend on imports for md extensions
This commit is contained in:
parent
5d139e461c
commit
98e03b04b5
6 changed files with 16 additions and 66 deletions
|
@ -81,6 +81,10 @@ module PrettyText
|
|||
ctx_load(ctx, "vendor/assets/javascripts/lodash.js")
|
||||
ctx_load_manifest(ctx, "pretty-text-bundle.js")
|
||||
|
||||
if SiteSetting.enable_experimental_markdown_it
|
||||
ctx_load_manifest(ctx, "markdown-it-bundle.js")
|
||||
end
|
||||
|
||||
root_path = "#{Rails.root}/app/assets/javascripts/"
|
||||
|
||||
apply_es6_file(ctx, root_path, "discourse/lib/utilities")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue