Fix tanstack builds craashing

This commit is contained in:
Matej Bačo committed 2025-11-05 12:48:39 +01:00
1 parent 4ce2426c3d
commit e93f479157
1 file changed
+4 -1
@@ -589,7 +589,10 @@ class Builds extends Action
// Some runtimes/frameworks can't compile with less memory than this
$minMemory = $resource->getCollection() === 'sites' ? 2048 : 1024;
if ($resource->getAttribute('framework', '') === 'analog') {
if (
$resource->getAttribute('framework', '') === 'analog' ||
$resource->getAttribute('framework', '') === 'tanstack-start'
) {
$minMemory = 4096;
}