Sha256: da03d9dad64f7970c4106dc9536e0cd643340be0ebcf6dde4607bd05fbbea4a4

Contents?: true

Size: 267 Bytes

Versions: 7

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

namespace :solidus_admin do
  namespace :importmap do
    desc "Render Solidus Admin's importmap JSON"
    task json: :environment do
      puts SolidusAdmin.importmap.to_json(resolver: ActionController::Base.helpers)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 lib/tasks/importmap.rake
solidus_admin-0.3.1 lib/tasks/importmap.rake
solidus_admin-0.3.0 lib/tasks/importmap.rake
solidus_admin-0.2.0 lib/tasks/importmap.rake
solidus_admin-0.1.0 lib/tasks/importmap.rake
solidus_admin-0.0.2 lib/tasks/importmap.rake
solidus_admin-0.0.1 lib/tasks/importmap.rake