diff --git a/CHANGELOG.md b/CHANGELOG.md index c91f1b3..0b17d8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # bedrock-webpack ChangeLog +## 11.6.2 - 2026-06-dd + +### Fixed +- Replace deprecated [hash] with [contenthash] in webpack output filename. + ## 11.6.1 - 2026-06-04 ### Fixed diff --git a/lib/index.js b/lib/index.js index fd39429..9913f11 100644 --- a/lib/index.js +++ b/lib/index.js @@ -296,7 +296,7 @@ export async function bundle(options = {}) { output: { path: path.join(paths.local, 'js'), publicPath: path.join(paths.public, 'js/'), - filename: '[name].[hash].js', + filename: '[name].[contenthash].js', ...webpackCleanOptions }, resolve: {