This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Rakefile | |
require File.expand_path('../config/application', __FILE__) | |
Rails.application.load_tasks | |
# Replace yarn with npm | |
Rake::Task['yarn:install'].clear if Rake::Task.task_defined?('yarn:install') | |
Rake::Task['webpacker:yarn_install'].clear | |
Rake::Task['webpacker:check_yarn'].clear |