app/helpers/webpack_dev_helper.rb
# Renders all style and js tags
Renders all style and js tags
Renders all style and js tags
def webpack_assets_tag(source)
    assets = webpack_asset_paths(source)
    assets.map do |asset_name|
      if File.extname(asset_name) == '.js'
        javascript_include_tag(asset_name)
      else
        stylesheet_link_tag(asset_name)
      end
    end.join("\n").html_safe
  end
def webpack_assets_tag ( source ) assets = webpack_asset_paths ( source ) assets . map do | asset_name | if File . extname ( asset_name ) == '.js' javascript_include_tag ( asset_name ) else stylesheet_link_tag ( asset_name ) end end . join ( "\n" ) . html_safe end
Renders all style and js tags
Renders all style and js tags
source
<not_specific>