lib/vite_ruby/config.rb in vite_ruby-1.1.2 vs lib/vite_ruby/config.rb in vite_ruby-1.2.0

- old
+ new

@@ -89,10 +89,10 @@ .tr('-', '_') .downcase } # Internal: Default values for a Ruby application. - def config_defaults(asset_host: nil, mode: ENV.fetch('RACK_ENV', 'production'), root: Dir.pwd) + def config_defaults(asset_host: nil, mode: ENV.fetch('RACK_ENV', 'development'), root: Dir.pwd) { 'asset_host' => option_from_env('asset_host') || asset_host, 'config_path' => option_from_env('config_path') || DEFAULT_CONFIG.fetch('config_path'), 'mode' => option_from_env('mode') || mode, 'root' => option_from_env('root') || root,