discourse/config/initializers/10-discourse_iife.rb

3 lines
113 B
Ruby

require 'discourse_iife'
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)