I'm writing a rails application template, so I exec rails new testa -m my_template a lot, and each time it take 2-3min to Installing all JavaScript dependencies [5.2.1] with run yarn add @rails/[email protected] from "." and to build fresh packages... that create 600+ node_modules (100mb+) that are not in git, so I wonder if there is a way to skip/reduce this step, like creating a symlink of node_modules, or with global packages. Thank you!
rails new testa -m my_template
Installing all JavaScript dependencies [5.2.1]
run yarn add @rails/[email protected] from "."
2.1m questions
2.1m answers
60 comments
57.0k users