5 ms·
Yarn and Webpack integration is already changing my life (for the better). Documentation on both still sucks however. In particular the inclusion of yarn an
by eagsalazar2 9y ago
Yarn and Webpack integration is already changing my life (for the better). Documentation on both still sucks however. In particular the inclusion of yarn and webpack represent a significant change in development workflows that they've not really outlined yet.
- eggie5 9y agoI haven't really been following yarn or web pack. Can you give an example of how it changed your life?
- rahilsondhi 9y agoUsing npm alone is like using bundler without a Gemfile.lock. If one person does `npm install` today, and a new teammate does `npm install` in a month, the new teammate will install different versions. With yarn, there is a yarn.lock to make sure everyone gets the same versions when they run `yarn install`. Also, yarn is way faster.
- paulddraper 9y agoThere is npm shrinkwrap, but the yarn folks will tell you yarn is better.
- sergiotapia 9y agoThere is ${some_random_lib} to solve this problem? Yawn! Use Yarn, it comes baked in.
- eggie5 9y agoThanks for the analogy. I am now update-to-date w/ 3 years of JS churn :)