Sha256: 2e9235a5c524c5c6215504d28ae5c57937aee42c082e6514377b984f5a86bf43
Contents?: true
Size: 717 Bytes
Versions: 20
Compression:
Stored size: 717 Bytes
Contents
# frozen_string_literal: true require "rails" module Katalyst module Tables class Engine < ::Rails::Engine # :nodoc: isolate_namespace Katalyst::Tables initializer "katalyst-tables.asset" do config.after_initialize do |app| if app.config.respond_to?(:assets) app.config.assets.precompile += %w[katalyst-tables.js] end end end initializer "katalyst-tables.importmap", before: "importmap" do |app| if app.config.respond_to?(:importmap) app.config.importmap.paths << root.join("config/importmap.rb") app.config.importmap.cache_sweepers << root.join("app/assets/builds") end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems