Sha256: 7993bf058082744ff7f19d66561328d8d02a69a3cdaa324bc8ac6a7ceb6a2ac7

Contents?: true

Size: 525 Bytes

Versions: 6

Compression:

Stored size: 525 Bytes

Contents

# frozen_string_literal: true

require "logger"
require "snowpack/application"
require "snowpack/components"
require "snowpack/web/plugin"

module <%= application_module %>
  class Application < Snowpack::Application
    use :web

    configure do
      config.name = :<%= application_path %>
      config.log_levels = %i[test development production].map { |e| [e, Logger::DEBUG] }.to_h
      config.default_namespace = "<%= application_path %>"
      config.auto_register = %w[lib/<%= application_path %>]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
snowpack-1.0.0.alpha7 lib/snowpack/generators/application/templates/config/application.rb.tt
snowpack-1.0.0.alpha6 lib/snowpack/generators/application/templates/config/application.rb.tt
snowpack-1.0.0.alpha5 lib/snowpack/generators/application/templates/config/application.rb.tt
snowpack-1.0.0.alpha4 lib/snowpack/generators/application/templates/config/application.rb.tt
snowpack-1.0.0.alpha3 lib/snowpack/generators/application/templates/config/application.rb.tt
snowpack-1.0.0.alpha2 lib/snowpack/generators/application/templates/config/application.rb.tt