From b264d17fc0d0f50217c25a473e32865366b9237f Mon Sep 17 00:00:00 2001 From: GatsbyJS Bot Date: Fri, 7 Oct 2022 00:16:11 -0600 Subject: [PATCH] fix(gatsby): Use hex hash for CSS modules (#36701) (#36756) Co-authored-by: Ty Hopp --- packages/gatsby/src/utils/webpack-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby/src/utils/webpack-utils.ts b/packages/gatsby/src/utils/webpack-utils.ts index 37625a2e10ccd..d010ac1af8fac 100644 --- a/packages/gatsby/src/utils/webpack-utils.ts +++ b/packages/gatsby/src/utils/webpack-utils.ts @@ -267,7 +267,7 @@ export const createWebpackUtils = ( modulesOptions = { auto: undefined, namedExport: true, - localIdentName: `[name]--[local]--[hash:base64:5]`, + localIdentName: `[name]--[local]--[hash:hex:5]`, exportLocalsConvention: `dashesOnly`, exportOnlyLocals: isSSR, }