We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 7ece6e0 commit 69eb290Copy full SHA for 69eb290
lib/opal/sprockets/processor.rb
@@ -91,7 +91,7 @@ def self.load_asset_code(sprockets, name)
91
92
non_opal_assets = ([asset]+asset.dependencies).reject do |a|
93
asset_attributes = ::Sprockets::AssetAttributes.new(sprockets, a.pathname)
94
- asset_attributes.engines.include?(::Opal::Processor)
+ asset_attributes.engines.any? { |engine| engine.is_a? self }
95
end
96
97
mark_as_loaded = non_opal_assets.map do |asset|
0 commit comments