Skip to content

Commit

Permalink
chore: only use hash file names
Browse files Browse the repository at this point in the history
  • Loading branch information
mary-ext committed Dec 9, 2023
1 parent a3e7293 commit 33739bb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/vite-desktop.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ export default defineConfig({
modulePreload: {
polyfill: false,
},
rollupOptions: {
output: {
chunkFileNames: '[hash].js',
},
},
terserOptions: {
compress: {
passes: 2,
Expand Down

0 comments on commit 33739bb

Please sign in to comment.