app/helpers/webpack_dev_helper.rb
# Render script with webpack dev server when enabled
Render script with webpack dev server when enabled
Render script with webpack dev server when enabled
def webpack_dev_server_tag
    if Rails.configuration.webpack.dev_server.enabled
      javascript_include_tag "http://#{Rails.configuration.webpack.dev_server.host}:#{Rails.configuration.webpack.dev_server.port}/webpack-dev-server.js"
    end
  end
def webpack_dev_server_tag if Rails . configuration . webpack . dev_server . enabled javascript_include_tag "http://#{Rails.configuration.webpack.dev_server.host}:#{Rails.configuration.webpack.dev_server.port}/webpack-dev-server.js" end end
Render script with webpack dev server when enabled
Render script with webpack dev server when enabled