Skip to content

Commit

Permalink
fix: Revert chunkFileNames to include hash
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Aug 2, 2024
1 parent 6f21d4a commit cef72bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/appConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'] } : {}),
Expand Down

0 comments on commit cef72bc

Please sign in to comment.