temporarily add back compiler while figuring out a better system
This commit is contained in:
parent
d41a8a21cc
commit
d6c925600f
|
@ -3,6 +3,7 @@ if Rails.env.development? || Rails.env.test?
|
||||||
require_asset ("ember-template-compiler.js")
|
require_asset ("ember-template-compiler.js")
|
||||||
require_asset ("ember.debug.js")
|
require_asset ("ember.debug.js")
|
||||||
else
|
else
|
||||||
|
require_asset ("ember-template-compiler.js")
|
||||||
require_asset ("ember.prod.js")
|
require_asset ("ember.prod.js")
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
|
|
@ -69,7 +69,7 @@ module Discourse
|
||||||
path =~ /assets\/images/ && !%w(.js .css).include?(File.extname(filename))
|
path =~ /assets\/images/ && !%w(.js .css).include?(File.extname(filename))
|
||||||
end]
|
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']
|
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']
|
||||||
|
|
||||||
# Precompile all defer
|
# Precompile all defer
|
||||||
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|
|
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|
|
||||||
|
|
Loading…
Reference in New Issue