mirror of
https://github.com/zadam/trilium.git
synced 2026-02-13 09:56:59 +01:00
fix(desktop): print failing on upgrade due to cache issues
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user