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