Sha256: 1d4248351b05b88e18c9500bdacc488b989c26a04ff3715274807b5151b40f70
Contents?: true
Size: 379 Bytes
Versions: 24
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module ViteRails::Config # Override: Default values for a Rails application. def config_defaults require 'rails' super( asset_host: Rails.application&.config&.action_controller&.asset_host, mode: Rails.env.to_s, root: Rails.root || Dir.pwd, ) end end ViteRuby::Config.singleton_class.prepend(ViteRails::Config)
Version data entries
24 entries across 24 versions & 1 rubygems