37c40b79c5
Update some of the hash we're using in the framework to use `sha1` instead. It's usually up to 20% faster than `sha256` and slightly faster than `md5`. All these places are only using the algorithm to generate a checksum, so there's no security concern to switch the algorithm. - packages/next/src/build/index.ts: using the hash as the key to track the traced files - packages/next/src/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.ts: CSS modules class name generation - packages/next/src/build/webpack/loaders/next-flight-css-loader.ts: checksum for server imported CSS's file content - packages/next/src/build/webpack/loaders/next-font-loader/index.ts: font asset hash - packages/next/src/cli/next-dev.ts: instrumentation file hash - packages/next/src/server/dev/hot-reloader.ts: module hash for HMR |
||
---|---|---|
.. | ||
fixtures | ||
test |