Replies: 1 comment 1 reply
-
|
@sokra Why we have |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Basically, similar question as #15036.
CacheInputFileSystemonly caches for 1 minute. In longer builds, useful fs entries will be purged away, requiring a second identical fs call. One example that stands out is https://github.com/xz64/license-webpack-plugin, which does a bunch of fs calls very late in the compilation process to grab license information.It seems 1min was chosen arbitrarily - what are y'alls thoughts on (1) raising it much higher, or (2) perhaps allowing setting the value via config w/ default
webpack/lib/node/NodeEnvironmentPlugin.js
Line 44 in fbcc470
cc @alexander-akait
Beta Was this translation helpful? Give feedback.
All reactions