remove template compiler, handle it in another way

This commit is contained in:
Sam 2015-11-25 15:45:36 +11:00
parent d6c925600f
commit 5ebffc0c94
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ module Discourse
path =~ /assets\/images/ && !%w(.js .css).include?(File.extname(filename))
end]
config.assets.precompile += ['vendor.js', 'common.css', 'desktop.css', 'mobile.css', 'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'browser-update.js', 'embed.css', 'break_string.js', 'ember_jquery.js', 'ember-template-compiler.js']
config.assets.precompile += ['vendor.js', 'common.css', 'desktop.css', 'mobile.css',
'admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js',
'browser-update.js', 'embed.css', 'break_string.js', 'ember_jquery.js']
# Precompile all defer
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|