DEV: Cleanup legacy asset compilation gems and code (#19177)

We now use Ember CLI (core/plugins) and DiscourseJSProcessor (themes) for all Ember and template compilation. This commit removes the remnants of the legacy Sprockets-based Ember compilation system.

Sprockets, and its DiscourseJSProcess-based Babel transformations, is still in use for a few assets. Ideally that will be removed/replaced in the near future.
This commit is contained in:
David Taylor
2022-11-24 12:13:59 +00:00
committed by GitHub
parent 174a8b431b
commit 84bec1cbae
13 changed files with 0 additions and 310 deletions

View File

@@ -40,8 +40,6 @@ Discourse::Application.configure do
config.active_record.migration_error = :page_load
config.watchable_dirs['lib'] = [:rb]
config.handlebars.precompile = true
# we recommend you use mailhog https://github.com/mailhog/MailHog
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }

View File

@@ -52,9 +52,6 @@ Discourse::Application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
# this will cause all handlebars templates to be pre-compiled, making your page faster
config.handlebars.precompile = true
# allows developers to use mini profiler
config.load_mini_profiler = GlobalSetting.load_mini_profiler

View File

@@ -35,9 +35,6 @@ Discourse::Application.configure do
# Send deprecation notices to registered listeners
config.active_support.deprecation = :notify
# precompile handlebar assets
config.handlebars.precompile = true
# allows users to use mini profiler
config.load_mini_profiler = false

View File

@@ -40,7 +40,6 @@ Discourse::Application.configure do
# lower iteration count for test
config.pbkdf2_iterations = 10
config.ember.variant = :development
config.assets.compile = true
config.assets.digest = false