Sha256: 453ee4ddf55513050a302c348890f9de80762c39f5914cc8f67aa5f81242e95a
Contents?: true
Size: 696 Bytes
Versions: 17
Compression:
Stored size: 696 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| app.config.assets.precompile += %w[katalyst-tables.js] if app.config.respond_to?(:assets) 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/javascripts") end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems