Closed honglix closed 3 years ago
@honglix You can add this to your deploy.rb file
command 'yarn' # Install package.json dependencies
command "NODE_ENV=#{fetch(:rails_env)} RAILS_ENV=#{fetch(:rails_env)} bundle exec rails webpacker:compile" # Run this here so we aren't committing compiled assests to git
ok, thanks
How do I configure my deploy.rb?