Skip to content

Commit

Permalink
do not attach hash to js file
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it authored and Salipa-Gurung committed Oct 4, 2024
1 parent f433dcf commit 14be880
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,13 @@ export default defineConfig({
key: readFileSync(join(certsDir, 'server.key')),
cert: readFileSync(join(certsDir, 'server.crt'))
}
},
build: {
rollupOptions: {
output: {
entryFileNames: `js/[name].js`,
chunkFileNames: `js/[name].js`
}
}
}
})

0 comments on commit 14be880

Please sign in to comment.