
1 356693212 2023 年 2 月 1 日 谷歌一下很难吗,rollup 最新的已经修改了 hash 算法了。 |
3 kartt7 2023 年 2 月 1 日 import { createHash } from 'node:crypto' const hash = createHash('sha256').update(content).digest('base64') |
4 Rrrrrr 2023 年 2 月 1 日 服了,发个 github 的 url 都发不出。 |
5 Rrrrrr 2023 年 2 月 1 日 |
9 Rrrrrr 2023 年 2 月 1 日 vite/issues/6928 这里有中文的 |
11 Rrrrrr 2023 年 2 月 1 日 A hash based only on the content of the final generated chunk, including transformations in renderChunk and any referenced file hashes. 它是根据生成后的 chunk 来的,所以都会变,没毛病 |
12 jaween OP |
13 aikilan 2023 年 2 月 2 日 文件内容没改过,修改 hash 的需求场景是啥?。。。 |