Environment
- Nuxt: 4.x
- @nuxtjs/i18n: 10.1.0+
- Last deterministic version: 10.0.6
- Mode: SSR
Reproduction
- Install
@nuxtjs/i18n ≥ 10.1.0
- Run
nuxi build twice without changing any files
- Compare the output — the
deploymentHash in the i18n route changes each time
Describe the bug
Starting from version 10.1.0, deploymentHash is generated using Date.now(), which changes on every build even when nothing in the project changed.
This makes the build output non-deterministic and causes related chunks to use a different hash each time.
Commit introducing the behavior:
0fa042cd
Additional context
A content-based hash or configurable hashing strategy would restore deterministic builds.