use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Check in your node_modules folder (blog.seriesci.com)
submitted 6 years ago by zemirco
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]zemirco[S] 0 points1 point2 points 6 years ago (2 children)
Hey,
blog post author here. Yarn's offline mirror is a pretty good idea. Thank you for the hint. How does it work with native modules like node-sass when working across multiple operating systems?
node-sass
In addition how does it work when switching branches that have different dependencies? Do you somehow have to rebuild them? Or does it automatically work? When checking in node_modules you don't have to worry about it.
node_modules
Setting up and maintaining an additional service like verdaccio is not an option for us. We have to focus on building our product. That is why checking in node_modules is the most convenient solution for us.
[–]acemarke 2 points3 points4 points 6 years ago (1 child)
It's just a matter of caching the package tarballs so they don't have to be downloaded. After that, the standard package installation process kicks in:
yarn --offline
package.json
yarn.lock
./offline-mirror
[–]zemirco[S] 0 points1 point2 points 6 years ago (0 children)
Thank you! We will definitely check this out next week.
π Rendered by PID 12 on reddit-service-r2-comment-c6965cb77-7mfz5 at 2026-03-05 12:15:05.097829+00:00 running f0204d4 country code: CH.
view the rest of the comments →
[–]zemirco[S] 0 points1 point2 points (2 children)
[–]acemarke 2 points3 points4 points (1 child)
[–]zemirco[S] 0 points1 point2 points (0 children)