Skip to content

Commit b3a2829

Browse files
individual-itSalipa-Gurung
authored andcommitted
do not attach hash to js file
1 parent f6ea053 commit b3a2829

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
@@ -15,6 +15,14 @@ if (!isProduction) {
1515
key: readFileSync(join(certsDir, 'server.key')),
1616
cert: readFileSync(join(certsDir, 'server.crt'))
1717
}
18+
},
19+
build: {
20+
rollupOptions: {
21+
output: {
22+
entryFileNames: `js/[name].js`,
23+
chunkFileNames: `js/[name].js`
24+
}
25+
}
1826
}
1927
} else {
2028
server = false

0 commit comments

Comments
 (0)