Sha256: 18579c080b672f444c1eb3d03b04251d743d7b003ccc752e2ea6b23ba961f80b

Contents?: true

Size: 337 Bytes

Versions: 23

Compression:

Stored size: 337 Bytes

Contents

require "react_on_rails/locales_to_js"

namespace :react_on_rails do
  desc <<-DESC
Generate i18n javascript files
This task generates javascript locale files: `translations.js` & `default.js` and places them in
the "ReactOnRails.configuration.i18n_dir".
  DESC
  task locale: :environment do
    ReactOnRails::LocalesToJs.new
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
react_on_rails-6.8.1 lib/tasks/locale.rake
react_on_rails-6.8.0 lib/tasks/locale.rake
react_on_rails-6.7.2 lib/tasks/locale.rake