3 ms·
I'd suggest using Yarn's "offline mirror" functionality, which lets you commit the exact set of packages into the repo, then install them when the repo is check
by acemarke 7y ago
I'd suggest using Yarn's "offline mirror" functionality, which lets you commit the exact set of packages into the repo, then install them when the repo is checked out without needing additional network requests.
https://classic.yarnpkg.com/blog/2016/11/24/offline-mirror/ https://classic.yarnpkg.com/blog/2016/11/24/offline-mirror/
https://blog.isquaredsoftware.com/2017/07/practical-redux-part-9-managing-dependencies/#managing-dependency-packages-for-offline-installation https://blog.isquaredsoftware.com/2017/07/practical-redux-pa...
- yingw787 7y agoThis is really cool, thanks for sharing! I'll see if this fits my needs, and maybe reach out to Yarn core devs to learn more about front-end build pipelines :)