module RailsModularAdmin class Engine < ::Rails::Engine isolate_namespace RailsModularAdmin require "sass-rails" require "font-awesome-rails" initializer "RailsModularAdmin.precompile" do |app| app.config.assets.precompile += %w(rails_modular_admin.js) # config.browserify_rails.paths << -> (p) { p.start_with?(Engine.root.join("app").to_s) } # config.browserify_rails.node_bin = "node_modules" end end end