Sha256: 9d09ccf450212b2c180abd746ed1c429583b4a7e645a946c65649b0a96b49e30
Contents?: true
Size: 399 Bytes
Versions: 1
Compression:
Stored size: 399 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 if ReactOnRails.configuration.i18n_dir.present? ReactOnRails::LocalesToJs.new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
react_on_rails-6.7.1 | lib/tasks/locale.rake |