lib/jammit/packager.rb in jammit-ebtd-0.6.7 vs lib/jammit/packager.rb in jammit-ebtd-0.6.8
- old
+ new
@@ -155,10 +155,10 @@
packages = {}
return packages if !config
config.each do |name, globs|
globs ||= []
packages[name] = {}
- paths = get_file_list(globs.flatten.uniq).uniq.sort
+ paths = get_file_list(globs.flatten.uniq).uniq
packages[name][:paths] = paths
if !paths.grep(Jammit.template_extension_matcher).empty?
packages[name][:urls] = paths.grep(JS_EXTENSION).map {|path| path.sub(path_to_url, '') }
packages[name][:urls] += [Jammit.asset_url(name, Jammit.template_extension)]
else