Skip to content

Commit f352c4a

Browse files
committed
fix(core): workaround for stable file hashes
1 parent 52a8c5e commit f352c4a

File tree

1 file changed

+6
-0
lines changed
  • packages/qwik/src/optimizer/src/plugins

1 file changed

+6
-0
lines changed

packages/qwik/src/optimizer/src/plugins/vite.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,12 @@ export function qwikVite(qwikViteOpts: QwikVitePluginOptions = {}): any {
335335
exclude: [/./],
336336
},
337337
rollupOptions: {
338+
/**
339+
* This is a workaround to have predictable chunk hashes between builds. It doesn't seem
340+
* to impact the build time.
341+
* https://github.com/QwikDev/qwik/issues/7226#issuecomment-2647122505
342+
*/
343+
maxParallelFileOps: 1,
338344
output: {
339345
// We have waterfall prevention so don't hoist
340346
hoistTransitiveImports: false,

0 commit comments

Comments
 (0)