module Webpack::Rails::Helpers
Public Instance Methods
image_bundle_tag(entry, **options)
click to toggle source
# File lib/webpack/rails/helpers.rb, line 18 def image_bundle_tag(entry, **options) image_tag webpack_bundle_path(entry), **options end
javascript_bundle_tag(*entries, **options)
click to toggle source
# File lib/webpack/rails/helpers.rb, line 10 def javascript_bundle_tag(*entries, **options) javascript_include_tag(*entries.map { |entry| webpack_bundle_path "#{entry}.js" }, **options) end
stylesheet_bundle_tag(*entries, **options)
click to toggle source
# File lib/webpack/rails/helpers.rb, line 14 def stylesheet_bundle_tag(*entries, **options) stylesheet_link_tag(*entries.map { |entry| webpack_bundle_path "#{entry}.css" }, **options) end