fix(desktop): print failing on upgrade due to cache issues

This commit is contained in:
Elian Doran
2026-02-10 16:30:16 +02:00
parent 6baaf60b67
commit 1f4900dd1e

View File

@@ -95,7 +95,7 @@ export default defineConfig(() => ({
output: {
entryFileNames: (chunk) => {
// We enforce a hash in the main index file to avoid caching issues, this only works because we have the HTML entry point.
if (chunk.name === "index") {
if (chunk.name === "index" || chunk.name === "print") {
return "src/[name]-[hash].js";
}