Newer
Older
dmpopidor / config / initializers / gettext_i18n_rails_js.rb
@Bodacious Bodacious on 19 Oct 2018 243 bytes Update asset structure with webpacker gem
GettextI18nRailsJs.config do |config|
  config.output_path = Rails.root.join("app", "assets", "javascripts", "locale")

  config.handlebars_function = "__"
  config.javascript_function = "__"

  config.jed_options = {
    pretty: false
  }
end