lib/vite_ruby.rb in vite_ruby-3.0.5 vs lib/vite_ruby.rb in vite_ruby-3.0.6

- old
+ new

@@ -120,10 +120,15 @@ @commands ||= ViteRuby::Commands.new(self) end # Public: Current instance configuration for Vite. def config - @config ||= ViteRuby::Config.resolve_config(**@config_options) + unless defined?(@config) + @config = ViteRuby::Config.resolve_config(**@config_options) + @config.load_ruby_config + end + + @config end # Public: Enables looking up assets managed by Vite using name and type. def manifest @manifest ||= ViteRuby::Manifest.new(self)