Class: Thredded::WebpackAssets::JavaScriptsResolver

Inherits:
Object
  • Object
show all
Defined in:
lib/thredded/webpack_assets.rb

Instance Method Summary collapse

Instance Method Details

#resolve(entry_point) ⇒ Object



28
29
30
31
32
# File 'lib/thredded/webpack_assets.rb', line 28

def resolve(entry_point)
  resolve_full_paths(entry_point).map do |dep|
    %(import "#{dep}";)
  end.join("\n")
end