git checkoutのたびにnode_modulesを再構築しなくて良くする - Qiita

動機 node_modules は .git 管理外なので git のブランチ移動するたびに再構築しないと行けないが、yarn install に時間がかかりすぎる。 解決方法 git hook の post-checkout で node_modules をキャッシュ...