Replies: 1 comment
-
@snspinn moon is not a replacement for yarn/webpack caching in regards to their specific caching implementation. moon's caching is primarily for remote caching, in which build artifacts can be uploaded and downloaded across machines. Let's use webpack for example. If you have a webpack config that compiles the application to a Now say if another developer runs the webpack build process on their machine, and you all are using remote caching, then moon will download that |
Beta Was this translation helpful? Give feedback.
-
I've recently run into issue with my builds around caching of files in yarn and webpack.. among other things. Given that we're all using a variety of framework -- with their own opinion -- having moon being thrown on top makes the whole question of caching get a little fuzzy. Unless you're someone that understands the details of caching (of each tool in the chain) this can often give the feeling of non-deterministic behaviour in the build system. Seems like people (me) just end up disabling all these cool features and "making coffee" ten times a day.
Is moon a replacement for caching like yarn (probably proto's concern) or webpack? If not by default, can it be? Is it recommended?
Can see situations where build debugging may be to incrementally disable/re-enable caching. Wondering if it should go from moon "down" or from underlying tooling "up".
Beta Was this translation helpful? Give feedback.
All reactions