lib/jets/core.rb in jets-3.0.9 vs lib/jets/core.rb in jets-3.0.10
- old
+ new
@@ -41,10 +41,10 @@
Jets.application.config.logger
end
memoize :logger
def webpacker?
- Gem.loaded_specs.keys.include?("webpacker")
+ Gem.loaded_specs.keys.any?{|k| k.start_with?("webpacker")}
end
memoize :webpacker?
def load_tasks
Jets::Commands::RakeTasks.load!