This page shows a lot of compilation modes for webpack, and some of them rebuild faster than they build.
I am trying to measure the speed of different build-tools, but I can't figure out if I am building or rebuilding. I mean.. what files do I have to clear to make sure that I am rebuilding? Just the target directory? Or is there another cache somewhere?
For example is the second build here a build or a rebuild the second time?
node_modules/.bin/webpack --output-path ~/target
rm -r target
node_modules/.bin/webpack --output-path ~/target
if that rebuilds, what to I have to clear to make it build again?
and does the second one here build or rebuild?
node_modules/.bin/webpack --output-path ~/target
node_modules/.bin/webpack --output-path ~/target
And if that is another build, what do I have to do to rebuild?
(webpack 4)
