-
Notifications
You must be signed in to change notification settings - Fork 120
Closed
Description
I know development on this stuff is still very much in progress, but is it correct to assume that we'll want this gem to work with Propshaft (i.e. in apps that use an alternative asset pipeline to Sprockets)? From what I've seen so far, it doesn't seem like the gem needs any of the more complex Sprockets-specific stuff.
But I noticed the gem currently has a direct reference to a Sprockets constant here:
importmap-rails/lib/importmap/map.rb
Line 94 in a2e5632
| rescue Sprockets::Rails::Helper::AssetNotFound |
Would we want to generalize it such that we only reference that constant when Sprockets has been loaded (after checking if defined?(Sprockets::Rails) or something similar)?
Metadata
Metadata
Assignees
Labels
No labels