Sha256: c45decdf6965ef8881b8b015b037fd2166a44575e7eaced32d4b5019523c5d51
Contents?: true
Size: 413 Bytes
Versions: 6
Compression:
Stored size: 413 Bytes
Contents
# frozen_string_literal: true namespace :yarn do desc "Install all JavaScript dependencies as specified via Yarn" task :install do system("./bin/yarn install --no-progress --production") end end # Run Yarn prior to Sprockets assets precompilation, so dependencies are available for use. if Rake::Task.task_defined?("assets:precompile") Rake::Task["assets:precompile"].enhance [ "yarn:install" ] end
Version data entries
6 entries across 6 versions & 2 rubygems