4 ms·
The entry I wish I saw in there: "Persistent chunk cache so that compiles are incremental even on restart of webpack." Once you start getting a large number of
by tdumitrescu 10y ago
The entry I wish I saw in there: "Persistent chunk cache so that compiles are incremental even on restart of webpack." Once you start getting a large number of assets into a deployment pipeline, recompiling everything from scratch every time becomes very painful. Wish webpack could help here out of the box without needing handrolled caching solutions.
- thelarkinn 10y agoThere is potentially a plugin that might work for you but an RFC on our core repo would be worth the time. Check out hard-source-webpack-plugin and see if that helps you.
- tdumitrescu 10y agoThanks so much for the pointer to that plugin; it looks like it does exactly what I'm looking for. It's a testament to webpack's configurability that a plugin can get deep enough into the guts to do that. I remember looking at https://github.com/webpack/webpack/issues/250 https://github.com/webpack/webpack/issues/250 ("Cache build information between webpack processes") back in the day and even now it looks like it's still open/unresolved/tagged "difficult."