lib/importmap/map.rb in importmap-rails-0.2.5 vs lib/importmap/map.rb in importmap-rails-0.2.6

- old
+ new

@@ -8,14 +8,14 @@ def draw(&block) instance_eval(&block) end - def pin(name, to: nil, preload: true) + def pin(name, to: nil, preload: false) @files[name] = MappedFile.new(name: name, path: to || "#{name}.js", preload: preload) end - def pin_all_from(path, under: nil, preload: true) + def pin_all_from(path, under: nil, preload: false) @directories[path] = MappedDir.new(path: path, under: under, preload: preload) end def preloaded_module_paths(resolver:) cache_as(:preloaded_module_paths) do