rsnext/packages/next/build/webpack/config/blocks/images
JJ Kasper 071ecb0b7b
Update tracing to collect from reasons (#29975)
This updates the `outputFileTracing` to fix a few cases we noticed where files weren't caught and also ensures we match webpack's `esm` resolving so that we don't include `cjs` files when webpack expects `esm`, it also updates to the latest `@vercel/nft` version which removes the caching in favor of ensuring the `reasons` map contains all parents allowing us to trace all entries in one `nodeFileTrace` run and the collect the separate files for each entry from the `reasons` map giving us much better performance/reliability.  

This also ensures we don't include static image imports when enabled in the traces since they can drastically increase deployment size on larger projects.
2021-10-18 17:01:02 +00:00
..
index.ts Update tracing to collect from reasons (#29975) 2021-10-18 17:01:02 +00:00
messages.ts Webpack rule to block importing images into _document (#28475) 2021-09-06 13:41:18 +02:00