Skip to content

Commit 14be880

Browse files
individual-itSalipa-Gurung
authored andcommitted
do not attach hash to js file
1 parent f433dcf commit 14be880

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

vite.config.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,13 @@ export default defineConfig({
1212
key: readFileSync(join(certsDir, 'server.key')),
1313
cert: readFileSync(join(certsDir, 'server.crt'))
1414
}
15+
},
16+
build: {
17+
rollupOptions: {
18+
output: {
19+
entryFileNames: `js/[name].js`,
20+
chunkFileNames: `js/[name].js`
21+
}
22+
}
1523
}
1624
})

0 commit comments

Comments
 (0)