From cef72bcef941ce55fe3ab6c3a0037ac5b79ffeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 1 Aug 2024 22:58:56 +0200 Subject: [PATCH] fix: Revert chunkFileNames to include hash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/appConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/appConfig.ts b/lib/appConfig.ts index 4a94c152..15bdfe76 100644 --- a/lib/appConfig.ts +++ b/lib/appConfig.ts @@ -221,7 +221,7 @@ export const createAppConfig = (entries: { [entryAlias: string]: string }, optio return `js/${assetsPrefix}[name].mjs` }, chunkFileNames: () => { - return 'js/[name].chunk.mjs' + return 'js/chunks/[name]-[hash].mjs' }, manualChunks: { ...(options?.coreJS ? { polyfill: ['core-js'] } : {}),