Sha256: 8b46c9a40ac2150661cd07014ad90246ce29b50a3273dad54ca20ae29bf180d4
Contents?: true
Size: 498 Bytes
Versions: 17
Compression:
Stored size: 498 Bytes
Contents
# frozen_string_literal: true require "react_on_rails/locales/base" require "react_on_rails/locales/to_js" require "react_on_rails/locales/to_json" require "active_support" namespace :react_on_rails do desc <<-DESC.strip_heredoc 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::Locales.compile end end
Version data entries
17 entries across 17 versions & 1 rubygems