The second attempt fixed issues with smoke test. This one makes sure minification only happens in production mode.
12 lines
288 B
Plaintext
12 lines
288 B
Plaintext
<%
|
|
DiscoursePluginRegistry.javascripts.each { |js| require_asset(js) }
|
|
DiscoursePluginRegistry.handlebars.each { |hb| require_asset(hb) }
|
|
DiscoursePluginRegistry.each_globbed_asset do |f|
|
|
if File.directory?(f)
|
|
depend_on(f)
|
|
else
|
|
require_asset(f)
|
|
end
|
|
end
|
|
%>
|