System Info
System:
OS: macOS 13.2.1
CPU: (10) arm64 Apple M1 Pro
Memory: 108.92 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.19.1 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/node
Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/yarn
npm: 8.19.3 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/npm
Browsers:
Chrome: 111.0.5563.64
Chrome Canary: 113.0.5652.0
Firefox: 109.0.1
Safari: 16.3
Details
The moduleId doesn't affect the contenthash of the build assets.
For example, when using different optimization.moduleIds ('named' or 'deterministic'), the output filename are always the same. See reproduction below for more details.
Reproduce link
https://github.com/jkzing/rspack-contenthash-reproduction
Reproduce Steps
pnpm install
pnpm run rspack to see rspack build results
pnpm run webpack to see webpack build results
System Info
System:
OS: macOS 13.2.1
CPU: (10) arm64 Apple M1 Pro
Memory: 108.92 MB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.19.1 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/node
Yarn: 1.22.19 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/yarn
npm: 8.19.3 - ~/Library/Caches/fnm_multishells/79180_1678765459198/bin/npm
Browsers:
Chrome: 111.0.5563.64
Chrome Canary: 113.0.5652.0
Firefox: 109.0.1
Safari: 16.3
Details
The moduleId doesn't affect the contenthash of the build assets.
For example, when using different
optimization.moduleIds('named'or'deterministic'), the output filename are always the same. See reproduction below for more details.Reproduce link
https://github.com/jkzing/rspack-contenthash-reproduction
Reproduce Steps
pnpm installpnpm run rspackto see rspack build resultspnpm run webpackto see webpack build results