There was an error while loading. Please reload this page.
1 parent eb34334 commit 92daa0bCopy full SHA for 92daa0b
lib/importmap/map.rb
@@ -149,7 +149,7 @@ def module_path_from(filename, mapping)
149
end
150
151
def find_javascript_files_in_tree(path)
152
- Dir[path.join("**/*.js{,m}")].collect { |file| Pathname.new(file) }.select(&:file?)
+ Dir[path.join("**/*.js{,m}")].sort.collect { |file| Pathname.new(file) }.select(&:file?)
153
154
155
def absolute_root_of(path)
0 commit comments