From 1526209f82a3d7cb4485e41ad3fd4c137db58a9c Mon Sep 17 00:00:00 2001 From: Steve Repsher Date: Wed, 22 Nov 2023 08:11:23 -0500 Subject: [PATCH] Adjust bundle filenames for stats and debugging (#18677) --- build-scripts/webpack.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-scripts/webpack.cjs b/build-scripts/webpack.cjs index dfcaa54256..432cca35d2 100644 --- a/build-scripts/webpack.cjs +++ b/build-scripts/webpack.cjs @@ -191,11 +191,11 @@ const createWebpackConfig = ({ filename: ({ chunk }) => !isProdBuild || isStatsBuild || dontHash.has(chunk.name) ? "[name].js" - : "[name]-[contenthash].js", + : "[name].[contenthash].js", chunkFilename: - isProdBuild && !isStatsBuild ? "[id]-[contenthash].js" : "[name].js", + isProdBuild && !isStatsBuild ? "[name].[contenthash].js" : "[name].js", assetModuleFilename: - isProdBuild && !isStatsBuild ? "[id]-[contenthash][ext]" : "[id][ext]", + isProdBuild && !isStatsBuild ? "[id].[contenthash][ext]" : "[id][ext]", crossOriginLoading: "use-credentials", hashFunction: "xxhash64", hashDigest: "base64url",