Sha256: 12d5ded48b5f057497d06fd198ace0e70d40dce07c0117e9467b48a827cc06cc

Contents?: true

Size: 374 Bytes

Versions: 25

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

require_relative "task_helpers"
include ReactOnRails::TaskHelpers

namespace :node_package do
  task :build do
    puts "Building Node Package and running 'yarn link'"
    sh "yarn run build && yarn link"
  end
end

desc "Prepares node_package by building and symlinking any example/dummy apps present"
task node_package: "node_package:build"

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
react_on_rails-8.0.6 rakelib/node_package.rake
react_on_rails-8.0.6.rc.1 rakelib/node_package.rake
react_on_rails-8.0.6.rc.0 rakelib/node_package.rake
react_on_rails-8.0.5 rakelib/node_package.rake
react_on_rails-8.0.4 rakelib/node_package.rake