From a5c88ca085a1dec63caaa75c65fa54a1bd9b6fa0 Mon Sep 17 00:00:00 2001 From: dev <> Date: Wed, 6 Dec 2023 07:34:16 +0000 Subject: [PATCH] phoenix-webapp: Fix assets' hashes length --- phoenix-webapp/vite.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phoenix-webapp/vite.config.ts b/phoenix-webapp/vite.config.ts index d3a8dde..8843c93 100644 --- a/phoenix-webapp/vite.config.ts +++ b/phoenix-webapp/vite.config.ts @@ -18,13 +18,13 @@ export default defineConfig({ output: { // we use the full hashes to reduces the risk of collision with assets cached for long time assetFileNames(chunkInfo) { - return `webapp/[name]-[hash:32][extname]`; + return `webapp/[name]-[hash:22][extname]`; }, chunkFileNames(chunkInfo) { - return `webapp/[name]-[hash:32].js`; + return `webapp/[name]-[hash:22].js`; }, entryFileNames(chunkInfo) { - return `webapp/[name]-[hash:32].js`; + return `webapp/[name]-[hash:22].js`; }, }, },